Author: toad
Date: 2008-04-22 12:44:37 +0000 (Tue, 22 Apr 2008)
New Revision: 19493
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1142: (Mandatory Thursday)
Web interface:
- Automatically remove alerts when the file is removed from the queue.
- Fix title for upload of a freesite succeeded useralert.
- Update bookmark editions.
- CSS fixes.
UserAlerts:
- This is a major first-time-user usability issue: many users won't see the
bookmarks because of all the useralerts.
- Separate UserAlerts toadlet ("Alerts").
- On the homepage, just show a box containing a one-line summary for each
alert, with an icon indicating priority and a link to the full alert on the
alerts page. The box's color depends on the highest priority alert.
- The one-line summary is in many cases equal to the title, but not always.
- IP detector plugin manager: Only nag the user to port forward if not
MAYBE_PORT_FORWARDED (be consistent, we were using two different thresholds for
open and darknet), have a separate useralert to ask for port forwards, show the
connection type alert on the Connectivity page and only there, alert the user
separately if there is no UDP connectivity.
- Sort by priority then class then hashcode, so that similar types of alert are
together.
- PeerManager alert: Change the priority for most of the alert modes. Rearrange
the code so it detects the high priority errors first.
- Alerts warning now points to the alerts page, not the homepage.
- Minor refactoring to UserAlertManager code.
Client layer:
- Fix #2147 (too many path components redirects to CHK for some sites) by using
original uri instead of current URI.
- Trivial optimisation: getKeyType() is already upper-case.
- Trivial optimisation: Metadata: Loop over entrySet not keySet.
First time user experience:
- Don't let requests fail until 5 minutes after opennet is enabled, not 5
minutes after startup. So if the user takes a while to reach the opennet page,
he still shouldn't see activelinks timing out because we only have 1 connection
etc.
- Call notifyPortChange() off-thread, eliminates the long delay when enabling
opennet in the wizard.
Bandwidth limiting:
- Don't double-fill the token bucket on creation. Check for too big in the
constructor.
- Rewrite TokenBucket.innerBlockingGrab. It is now much simpler and hopefully
more accurate.
- Rewrite DoubleTokenBucket. It's now much simpler, and actually does what it's
supposed to do, which is to ensure that 20% of the bandwidth is always
available for blocking grabs i.e. throttled packets i.e. data transfers.
IP detection:
- Don't redetect just because lastAddressList is null, if we do we can get an
infinite recursion. Also, better comparison when deciding if something has
changed.
- Only redetect after 5 minutes if *all* the IP detection plugins failed.
First time wizard:
- Explain a bit more in the congrats message: mention slowness, bookmarks.
FCP:
- Add PutDirType to PersistentPutDir: disk = from a ClientPutDiskDir, complex =
from a ClientPutComplexDir. (#2159)
- RemovePersistentRequest now removes non-persistent requests as well as
persistent ones (if global=false). You can access it as RemoveRequest, which
will be its new name. (#2200).
L10n:
- Improve stats page description "Pooled threads by priority".
- Slight rewording of opennet warning.
- French update from batosai.
Datastore:
- Fix some NPEs.
Stats:
- Threads by priority on stats page: Running column now only counts threads
which are actually running a job. So the total of the running column is less
than the total thread count (which also excludes waiting-for-a-job threads).
- Move some more threads onto the executor for more accurate thread count
stats, less code, thread priorities.
- Fix an off-by-one error for the peer manager alerts which has been annoying
people for at least a year.
Memory usage:
- Intern some strings in FreenetURI and Metadata.
Temporary files handling:
- Revert wierd probably non-functional commit 19297.
Dev stuff:
- Javadocs (update, add, for variables and methods, also formatting fixes).
- Comments.
- Indenting.
- Imports.
- Logging.
- toString().
- Implement a class to set wrapper.conf parameters. Not used yet.
- Fields: Make longHashCode() use longHashCode(,,).
Unit tests:
- Add some more tests for Fields.
Installer:
- Firefox profile: Try to make the initial window 800x600. This doesn't seem to
work.
- Firefox profile: Disable scanning for plugins.
- Update app version to 0.7-rc2.
- Fix it-takes-ages-to-download-each-plugin: we were downloading the wrong URL
so the SHA1 verification didn't work, so we tried 5 times... Download the right
URL and then rename it so the node will use it.
- Fix permission denied on a shell script causing us not to open a browser.
Website:
- We are a hackontest candidate.
batosai
dbkr
j16sdiz
saces
toad
tommy
wavey
KeyExplorer plugin: (saces)
- Should now handle all keys including USKs.
- Fix NPE on an empty FCP plugin message.
- FCP: Send Status=DataFound when found the data.
- Logging.
- Trivial refactoring.
jFCPlib: (bombe)
- Add a field getter for Peer for the volatile section, and one for the
metadata section.
- Add generated date to javadocs.
- Rename project.
Thingamablog: (dieppe, nextgens)
- Use our l10n infrastructure, not thingamablog's, which involves zip files.
- Fix editions related bug in other places.
- New Flog option in right click menu on the root of the list.
- Minor refactoring.
- Maybe fix a bug with an extra slash?
- Make the General panel clearer for flogs.
- Substitute in real edition number to <$EditionNumber$>.
- Use it to fix internal links too.
- Syndicate link on a flog bookmarks the flog.
- Update build.xml, Thingamablog will be using fred's translation framework.
(nextgens)
jSite: (bombe)
version 0.4.9.7
fix text in insert progress status bar on second and subsequent inserts
fix hardcoded english text
clean up translations
add missing french translations
add batosai to credits in french language file
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2008-04-22 11:56:31 UTC (rev
19492)
+++ trunk/freenet/src/freenet/node/Version.java 2008-04-22 12:44:37 UTC (rev
19493)
@@ -24,17 +24,17 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1141;
+ private static final int buildNumber = 1142;
/** Oldest build of Fred we will talk to */
- private static final int oldLastGoodBuild = 1138;
- private static final int newLastGoodBuild = 1140;
+ private static final int oldLastGoodBuild = 1140;
+ private static final int newLastGoodBuild = 1142;
static final long transitionTime;
static {
final Calendar _cal =
Calendar.getInstance(TimeZone.getTimeZone("GMT"));
// year, month - 1 (or constant), day, hour, minute, second
- _cal.set( 2008, Calendar.APRIL, 17, 0, 0, 0 );
+ _cal.set( 2008, Calendar.APRIL, 24, 0, 0, 0 );
transitionTime = _cal.getTimeInMillis();
}