<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest topics for the forum "Developer Forum"]]></title>
		<link>https://community.jforum.net/forums/show/3.page</link>
		<description><![CDATA[The newest discussed topics in the forum "Developer Forum"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Re:search problem</title>
				<description><![CDATA[ [quote]This kind of issue is hard to track down without having access to the forum in question. Can you reproduce it on this site?[/quote]
<br>
No, there is another problem, take a look at images
<br>
<br>
[quote]You mean clicking the pagination buttons?[/quote]
<br>
Yes
<br>
<br>
[quote]What specifically did you test, and what, exactly, was the result?[/quote]
<br>
By changing search options. Problem shows only when i type 2 or more keywords]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/293/1270.page</guid>
				<link>https://community.jforum.net/posts/preList/293/1270.page</link>
				<pubDate><![CDATA[Wed, 11 Dec 2024 03:01:51]]> GMT</pubDate>
				<author><![CDATA[ jdev1]]></author>
			</item>
			<item>
				<title>Email Integration Tests</title>
				<description><![CDATA[ If the test fail, there should be exception stack messages in the output - post those here in full. Without those, it's hard to tell what's going wrong.]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/294/1269.page</guid>
				<link>https://community.jforum.net/posts/preList/294/1269.page</link>
				<pubDate><![CDATA[Sun, 8 Dec 2024 20:59:59]]> GMT</pubDate>
				<author><![CDATA[ udittmer]]></author>
			</item>
			<item>
				<title>Re:Search Pagination is broken?</title>
				<description><![CDATA[ [code]
<br>
Index: src/main/java/net/jforum/search/LuceneContentCollector.java
<br>
IDEA additional info:
<br>
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<br>
&lt;+&gt;UTF-8
<br>
===================================================================
<br>
--- src/main/java/net/jforum/search/LuceneContentCollector.java (revision 974)
<br>
+++ src/main/java/net/jforum/search/LuceneContentCollector.java (date 1658338387000)
<br>
@@ -64,33 +64,38 @@
<br>
import org.apache.lucene.search.highlight.QueryScorer;
<br>
import org.apache.lucene.search.highlight.SimpleHTMLFormatter;
<br>
<br>
+import net.jforum.util.preferences.ConfigKeys;
<br>
+import net.jforum.util.preferences.SystemGlobals;
<br>
+
<br>
import org.apache.log4j.Logger;
<br>
<br>
/**
<br>
* @author Rafael Steil
<br>
*/
<br>
-public class LuceneContentCollector
<br>
-{
<br>
+public class LuceneContentCollector {
<br>
private static final Logger LOGGER = Logger.getLogger(LuceneContentCollector.class);
<br>
<br>
private LuceneSettings settings;
<br>
<br>
- public LuceneContentCollector (LuceneSettings settings)
<br>
- {
<br>
+ public LuceneContentCollector(LuceneSettings settings) {
<br>
this.settings = settings;
<br>
}
<br>
<br>
- public List collect (SearchArgs args, ScoreDoc[] results, Query query) {
<br>
+ public List collect(SearchArgs args, ScoreDoc[] results, Query query, int totalHits) {
<br>
try {
<br>
- int finalResultSize = Math.min(args.fetchCount(), results.length - args.startFrom());
<br>
+ int finalResultSize = Math.min(args.fetchCount(), totalHits - args.startFrom());
<br>
+// LOGGER.debug(String.format("collect: results=%d, args.fetchCount=%d, args.startFrom=%d, finalResultSize=%d", results.length, args.fetchCount(), args.startFrom(), finalResultSize));
<br>
int[] postIds = new int[finalResultSize];
<br>
- //LOGGER.debug(String.format("collect: results=%d, args.fetchCount=%d, args.startFrom=%d",
<br>
- // results.length, args.fetchCount(), args.startFrom()));
<br>
<br>
IndexSearcher searcher = new IndexSearcher(DirectoryReader.open(this.settings.directory()));
<br>
- for (int docIndex = args.startFrom(), i = 0;
<br>
- i &lt; finalResultSize;
<br>
- docIndex++, i++) {
<br>
+
<br>
+ int docIndex = args.startFrom();
<br>
+ while (docIndex &gt; SystemGlobals.getIntValue(ConfigKeys.SEARCH_RESULT_LIMIT)) {
<br>
+ docIndex -= SystemGlobals.getIntValue(ConfigKeys.SEARCH_RESULT_LIMIT);
<br>
+ }
<br>
+ LOGGER.debug(String.format("docIndex=%d", docIndex));
<br>
+
<br>
+ for (int i = 0; i &lt; finalResultSize; docIndex++, i++) {
<br>
ScoreDoc hit = results[docIndex];
<br>
Document doc = searcher.doc(hit.doc);
<br>
postIds[i] = Integer.parseInt(doc.get(SearchFields.Keyword.POST_ID));
<br>
Index: src/main/java/net/jforum/search/LuceneSearch.java
<br>
IDEA additional info:
<br>
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<br>
&lt;+&gt;UTF-8
<br>
===================================================================
<br>
--- src/main/java/net/jforum/search/LuceneSearch.java (revision 974)
<br>
+++ src/main/java/net/jforum/search/LuceneSearch.java (date 1658338329000)
<br>
@@ -158,7 +158,7 @@
<br>
ScoreDoc[] docs = tfd.scoreDocs;
<br>
TotalHits th = tfd.totalHits;
<br>
if (th.value &gt; 0) {
<br>
- result = new SearchResult&lt;&gt;(resultCollector.collect(args, docs, query), (int) th.value);
<br>
+ result = new SearchResult&lt;&gt;(resultCollector.collect(args, docs, query, (int) th.value), (int) th.value);
<br>
} else {
<br>
result = new SearchResult&lt;&gt;(new ArrayList&lt;&gt;(), 0);
<br>
}
<br>
<br>
[/code]]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/251/1125.page</guid>
				<link>https://community.jforum.net/posts/preList/251/1125.page</link>
				<pubDate><![CDATA[Thu, 21 Jul 2022 01:35:16]]> GMT</pubDate>
				<author><![CDATA[ Komal Gupta]]></author>
			</item>
			<item>
				<title>Bug in Profile editing</title>
				<description><![CDATA[ Actually, the software does scale the image down if it is too large, so no change is needed. Not sure what's going on with this server, but it seems JForum does the right thing.]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/249/1123.page</guid>
				<link>https://community.jforum.net/posts/preList/249/1123.page</link>
				<pubDate><![CDATA[Wed, 20 Jul 2022 17:25:05]]> GMT</pubDate>
				<author><![CDATA[ udittmer]]></author>
			</item>
			<item>
				<title>Re:Session and Last Visit Time are conflicting</title>
				<description><![CDATA[ Thanks for the update!]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/246/1111.page</guid>
				<link>https://community.jforum.net/posts/preList/246/1111.page</link>
				<pubDate><![CDATA[Mon, 30 May 2022 18:54:15]]> GMT</pubDate>
				<author><![CDATA[ Komal Gupta]]></author>
			</item>
			<item>
				<title>The &quot;Group By Forum&quot; functionality is broken.</title>
				<description><![CDATA[ This has been fixed in 2.8.0, BTW.]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/230/1101.page</guid>
				<link>https://community.jforum.net/posts/preList/230/1101.page</link>
				<pubDate><![CDATA[Mon, 24 Jan 2022 16:15:22]]> GMT</pubDate>
				<author><![CDATA[ udittmer]]></author>
			</item>
			<item>
				<title>Deleted file &quot;clipboard.swf&quot; still being referenced</title>
				<description><![CDATA[ Thanks for the heads-up. I've removed that and some other remnants of the old SyntaxHighlighter.]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/222/987.page</guid>
				<link>https://community.jforum.net/posts/preList/222/987.page</link>
				<pubDate><![CDATA[Fri, 7 Aug 2020 15:37:46]]> GMT</pubDate>
				<author><![CDATA[ udittmer]]></author>
			</item>
			<item>
				<title>Code ever moved to Git?   </title>
				<description><![CDATA[ Although we are getting closer to moving to Git, that has not happened yet, and will probably not happen real soon. For the time being, the best way to contribute would be to open a ticket at <a class="snap_shots" href="https://sourceforge.net/p/jforum2/tickets/" target="_blank">https://sourceforge.net/p/jforum2/tickets/</a> and attach a diff against the current Subversion HEAD.]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/221/983.page</guid>
				<link>https://community.jforum.net/posts/preList/221/983.page</link>
				<pubDate><![CDATA[Mon, 20 Jul 2020 14:07:13]]> GMT</pubDate>
				<author><![CDATA[ udittmer]]></author>
			</item>
			<item>
				<title>Running the JForum2 unit tests</title>
				<description><![CDATA[ This post is more of a note to myself than a question, but if anyone has suggestions on how to make the process smoother, I'm all ears.
<br>
<br>
1) Temporarily remove the net.jforum.summary.SummaryTest.java file. The test never finishes, although that may be more of a Quartz issue than an issue with the test itself.
<br>
<br>
2) Add the jforum-custom.conf file from your installation to src/main/config - it contains the DB configurations needed to run the tests.
<br>
<br>
3) Temporarily remove src/main/config/database/postgresql/postgresql.properties (or the corresponding file for whatever DB you're using for the tests). The file is loaded after the jforum-custom.properties, and thus overrides it.
<br>
<br>
An alternative to steps 2 and 3 would be to edit src/main/config/database/postgresql/postgresql.properties so it contains the values appropriate to your DB.
<br>
<br>
4) Then perform a [i]clean[/i] build when running the tests.
<br>
<br>
5) Afterwards, undo the above changes before creating the actual build.]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/215/930.page</guid>
				<link>https://community.jforum.net/posts/preList/215/930.page</link>
				<pubDate><![CDATA[Wed, 15 Apr 2020 17:08:04]]> GMT</pubDate>
				<author><![CDATA[ udittmer]]></author>
			</item>
			<item>
				<title>pom.xml doesn&#39;t work</title>
				<description><![CDATA[ Thanks for the heads-up. I'm not sure why those repositories (or jfrog) are listed there. I'll look into whether they can just be deleted, or if any compensatory setup is required.]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/207/903.page</guid>
				<link>https://community.jforum.net/posts/preList/207/903.page</link>
				<pubDate><![CDATA[Tue, 11 Feb 2020 22:20:08]]> GMT</pubDate>
				<author><![CDATA[ udittmer]]></author>
			</item>
			<item>
				<title>Re:Running JForum Clustered</title>
				<description><![CDATA[ Hi,
<br>
I have it clustered (2 nodes), common DB and File System.
<br>
Working fine, except that Category and Forum are loaded at application start, and not refreshed automatically on the node that you are not using when administering the forums.
<br>
Meaning, you see two different state of the forum index, depending on the cluster node you are connected.
<br>
This forces me to restart the application, which is not nice in a production environment.
<br>
<br>
So, it would be nice to have the Category and Forum list regularly refreshed (or never cached), or an option to refresh it on each node, or a cluster feature that will allow to inform the other nodes to refresh the Category and Forum list.
<br>
It could be that other features are concerned, not discovered yet, but I'mm quite new in jForum.
<br>
<br>
Can somebody include that in a next release ?]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/28/901.page</guid>
				<link>https://community.jforum.net/posts/preList/28/901.page</link>
				<pubDate><![CDATA[Fri, 24 Jan 2020 21:47:12]]> GMT</pubDate>
				<author><![CDATA[ xchene]]></author>
			</item>
			<item>
				<title>Re:JForum 3.x Ideas</title>
				<description><![CDATA[ [quote=udittmer]I consider swooping in and trying to get hold of the domain that has been associated with this project for more than a decade an unfriendly move. That's not the way to build momentum for your project.[/quote]
<br>
I have spoken with the owner of the domain about buying it previously before finding out about this fork and he wanted a lot for it, however, now that I know this fork exists I understand how that could be considered unfriendly and I have canceled the backorder. if I were to buy the domain or somehow get it, I would transfer it to one of you. That being said, if I were to get jforum.io, I would get it at Namecheap and set it up so you two could manage it.
<br>
<br>
[quote=udittmer]git would be nice, but so far it hasn't been important enough for anyone on the team to tackle. SF has an issue tracker as well, by the way (which is being used). The JForum 2 and 3 stuff on Github is obsolete; it's there merely for historical interest.[/quote]
<br>
I also took the time last night to move the source code to GitLab (<a class="snap_shots" href="https://gitlab.com/jforum/jforum" target="_blank">https://gitlab.com/jforum/jforum</a>), if you have an account on GitLab, I can add you to the organization. Now that it is there, if you are part of the git organization on GitHub (<a class="snap_shots" href="https://github.com/jforum" target="_blank">https://github.com/jforum</a>), it will be easier for you to transfer the code with all the commit history if that is something you want to do.]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/202/887.page</guid>
				<link>https://community.jforum.net/posts/preList/202/887.page</link>
				<pubDate><![CDATA[Wed, 6 Nov 2019 21:03:38]]> GMT</pubDate>
				<author><![CDATA[ XAOS-Eric]]></author>
			</item>
			<item>
				<title>Re:Can the Software Look and Feel be customised?</title>
				<description><![CDATA[ Many Thanks]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/198/868.page</guid>
				<link>https://community.jforum.net/posts/preList/198/868.page</link>
				<pubDate><![CDATA[Thu, 26 Sep 2019 05:46:21]]> GMT</pubDate>
				<author><![CDATA[ satinder_2000@outlook.com]]></author>
			</item>
			<item>
				<title>Trying to locate code base for front end</title>
				<description><![CDATA[ As to changing the look, it depends on how far you want to go. <a class="snap_shots" href="https://sourceforge.net/p/jforum2/code/HEAD/tree/trunk/src/main/resources/templates/default/styles/style.css" target="_blank">https://sourceforge.net/p/jforum2/code/HEAD/tree/trunk/src/main/resources/templates/default/styles/style.css</a> has a lot of the colors and fonts and such.
<br>
<br>
As to moving things around, that would concern the template files. An easy start into that might be the templates for the mobile-optimized pages in <a class="snap_shots" href="https://sourceforge.net/p/jforum2/code/HEAD/tree/trunk/src/main/resources/templates/default/mobile/" target="_blank">https://sourceforge.net/p/jforum2/code/HEAD/tree/trunk/src/main/resources/templates/default/mobile/</a> as those are a lot simpler than the templates for the desktop look. (Note that the mobile look also has its own CSS definitions.)]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/197/867.page</guid>
				<link>https://community.jforum.net/posts/preList/197/867.page</link>
				<pubDate><![CDATA[Wed, 25 Sep 2019 21:23:30]]> GMT</pubDate>
				<author><![CDATA[ udittmer]]></author>
			</item>
			<item>
				<title>Code problem on trunk with template mobile/user_posts_show.htm</title>
				<description><![CDATA[ Thanks for alerting us to that. It should read "${post.formattedTime}" rather than "${post.time}". That has actually led me to a couple more issues with the handling of relative dates - I just checked in a patch for those.
<br>
<br>
To keep the mobile view light, the post text isn't included on purpose.]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/180/774.page</guid>
				<link>https://community.jforum.net/posts/preList/180/774.page</link>
				<pubDate><![CDATA[Fri, 1 Mar 2019 20:17:22]]> GMT</pubDate>
				<author><![CDATA[ udittmer]]></author>
			</item>
	</channel>
</rss>