Sone.git
10 years agoSkip redundant initialization.
David ‘Bombe’ Roden [Wed, 25 Jun 2014 18:20:48 +0000 (20:20 +0200)]
Skip redundant initialization.

10 years agoDeclare variables closer to where they’re first used.
David ‘Bombe’ Roden [Wed, 25 Jun 2014 18:20:17 +0000 (20:20 +0200)]
Declare variables closer to where they’re first used.

10 years agoRemove some unnecessary local variables.
David ‘Bombe’ Roden [Wed, 25 Jun 2014 17:56:36 +0000 (19:56 +0200)]
Remove some unnecessary local variables.

10 years agoRemove unnecessary return.
David ‘Bombe’ Roden [Wed, 25 Jun 2014 17:54:30 +0000 (19:54 +0200)]
Remove unnecessary return.

10 years agoSimplify some boolean expressions.
David ‘Bombe’ Roden [Wed, 25 Jun 2014 17:53:14 +0000 (19:53 +0200)]
Simplify some boolean expressions.

10 years agoAdd test case for locking and unlocking a Sone.
David ‘Bombe’ Roden [Tue, 24 Jun 2014 17:57:05 +0000 (19:57 +0200)]
Add test case for locking and unlocking a Sone.

10 years agoAdd test for restarting the wait period after changing the Sone.
David ‘Bombe’ Roden [Tue, 24 Jun 2014 17:33:35 +0000 (19:33 +0200)]
Add test for restarting the wait period after changing the Sone.

10 years agoAdd own test for starting state.
David ‘Bombe’ Roden [Tue, 24 Jun 2014 17:33:10 +0000 (19:33 +0200)]
Add own test for starting state.

10 years agoMove detection of modification into modification detector.
David ‘Bombe’ Roden [Sun, 22 Jun 2014 14:32:21 +0000 (16:32 +0200)]
Move detection of modification into modification detector.

10 years agoRefactor test.
David ‘Bombe’ Roden [Thu, 12 Jun 2014 05:29:43 +0000 (07:29 +0200)]
Refactor test.

10 years agoUse a more stable Guava version.
David ‘Bombe’ Roden [Thu, 12 Jun 2014 05:12:00 +0000 (07:12 +0200)]
Use a more stable Guava version.

10 years agoActually use the default values.
David ‘Bombe’ Roden [Thu, 12 Jun 2014 05:11:39 +0000 (07:11 +0200)]
Actually use the default values.

getParam(String) returns a default value of "" and not null so the
previous detection of “no value is set” was actually never working, and
the default in the web interface was the default used by the browser
(i.e. the first element).

10 years agoUse Sone modification detector in Sone inserter.
David ‘Bombe’ Roden [Thu, 12 Jun 2014 05:10:00 +0000 (07:10 +0200)]
Use Sone modification detector in Sone inserter.

10 years agoAdd Sone modification detector.
David ‘Bombe’ Roden [Thu, 12 Jun 2014 05:09:08 +0000 (07:09 +0200)]
Add Sone modification detector.

10 years agoRemove “modified” flag, it’s now calculated on-the-fly.
David ‘Bombe’ Roden [Wed, 11 Jun 2014 04:34:58 +0000 (06:34 +0200)]
Remove “modified” flag, it’s now calculated on-the-fly.

10 years agoStore fingerprint in insert information.
David ‘Bombe’ Roden [Wed, 11 Jun 2014 04:34:28 +0000 (06:34 +0200)]
Store fingerprint in insert information.

10 years agoUse a real boolean to signal that the Sone should be inserted now.
David ‘Bombe’ Roden [Wed, 11 Jun 2014 04:28:25 +0000 (06:28 +0200)]
Use a real boolean to signal that the Sone should be inserted now.

10 years agoUse an optional instead of a magic value.
David ‘Bombe’ Roden [Wed, 11 Jun 2014 04:10:21 +0000 (06:10 +0200)]
Use an optional instead of a magic value.

10 years agoUse static import for currentTimeMillis().
David ‘Bombe’ Roden [Wed, 11 Jun 2014 04:09:49 +0000 (06:09 +0200)]
Use static import for currentTimeMillis().

10 years agoSmall simplification.
David ‘Bombe’ Roden [Wed, 11 Jun 2014 04:05:20 +0000 (06:05 +0200)]
Small simplification.

10 years agoFix comment.
David ‘Bombe’ Roden [Wed, 11 Jun 2014 04:05:11 +0000 (06:05 +0200)]
Fix comment.

10 years agoChange default sort order to by-activity, descending.
David ‘Bombe’ Roden [Tue, 10 Jun 2014 12:41:57 +0000 (14:41 +0200)]
Change default sort order to by-activity, descending.

10 years agoAdd constants for the default sort field and order.
David ‘Bombe’ Roden [Tue, 10 Jun 2014 12:41:35 +0000 (14:41 +0200)]
Add constants for the default sort field and order.

10 years agoUpdate Japanese translation.
David ‘Bombe’ Roden [Tue, 10 Jun 2014 10:50:48 +0000 (12:50 +0200)]
Update Japanese translation.

10 years agoCloser reader after creating templates.
David ‘Bombe’ Roden [Mon, 9 Jun 2014 21:53:55 +0000 (23:53 +0200)]
Closer reader after creating templates.

10 years agoUse a multimap for storing replies.
David ‘Bombe’ Roden [Mon, 2 Jun 2014 04:48:52 +0000 (06:48 +0200)]
Use a multimap for storing replies.

10 years agoUse a multimap to store posts with recipienets.
David ‘Bombe’ Roden [Mon, 2 Jun 2014 04:43:10 +0000 (06:43 +0200)]
Use a multimap to store posts with recipienets.

10 years agoRemove all existing posts of a Sone correctly.
David ‘Bombe’ Roden [Mon, 2 Jun 2014 04:40:42 +0000 (06:40 +0200)]
Remove all existing posts of a Sone correctly.

10 years agoUse a Multimap to store a Sone’s posts.
David ‘Bombe’ Roden [Mon, 2 Jun 2014 04:40:23 +0000 (06:40 +0200)]
Use a Multimap to store a Sone’s posts.

10 years agoHandle mention notification better.
David ‘Bombe’ Roden [Thu, 29 May 2014 20:21:46 +0000 (22:21 +0200)]
Handle mention notification better.

10 years agoOnly send events after the new posts and replies are stored.
David ‘Bombe’ Roden [Thu, 29 May 2014 20:20:49 +0000 (22:20 +0200)]
Only send events after the new posts and replies are stored.

10 years agoTranslated untranslated Japanese string
Hideki Saito [Mon, 2 Jun 2014 19:02:30 +0000 (12:02 -0700)]
Translated untranslated Japanese string

10 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Mon, 26 May 2014 18:02:30 +0000 (20:02 +0200)]
Merge branch 'master' into next

10 years agoMerge branch 'release-0.8.9' 0.8.9
David ‘Bombe’ Roden [Mon, 26 May 2014 17:56:07 +0000 (19:56 +0200)]
Merge branch 'release-0.8.9'

10 years agoSet Sone version to 0.8.9.
David ‘Bombe’ Roden [Mon, 26 May 2014 17:55:50 +0000 (19:55 +0200)]
Set Sone version to 0.8.9.

10 years agoIncrease latest edition of Sone’s homepage.
David ‘Bombe’ Roden [Mon, 26 May 2014 17:55:39 +0000 (19:55 +0200)]
Increase latest edition of Sone’s homepage.

10 years agoAdd paragraph telling users without posts on their feed that auto-follow is available.
David ‘Bombe’ Roden [Mon, 19 May 2014 16:52:32 +0000 (18:52 +0200)]
Add paragraph telling users without posts on their feed that auto-follow is available.

10 years agoUse post.replyId instead of post.reply.id.
David ‘Bombe’ Roden [Mon, 31 Mar 2014 04:52:21 +0000 (06:52 +0200)]
Use post.replyId instead of post.reply.id.

post.reply now returns an Optional, so an additional “get” would be
required.

10 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Thu, 27 Feb 2014 21:04:45 +0000 (22:04 +0100)]
Merge branch 'master' into next

10 years agoMerge branch 'release-0.8.8' 0.8.8
David ‘Bombe’ Roden [Thu, 27 Feb 2014 20:38:22 +0000 (21:38 +0100)]
Merge branch 'release-0.8.8'

10 years agoUpdate current homepage edition.
David ‘Bombe’ Roden [Wed, 26 Feb 2014 22:13:17 +0000 (23:13 +0100)]
Update current homepage edition.

10 years agoSet version to 0.8.8.
David ‘Bombe’ Roden [Tue, 25 Feb 2014 18:09:48 +0000 (19:09 +0100)]
Set version to 0.8.8.

10 years agoIterate over the current versions of the Sones.
David ‘Bombe’ Roden [Thu, 27 Feb 2014 07:38:13 +0000 (08:38 +0100)]
Iterate over the current versions of the Sones.

The keys used in the soneInserters map are Sones fresh from the startup,
most of them shouldn’t even have profiles.

10 years agoGet larger images from WoT, let the browser scale it down.
David ‘Bombe’ Roden [Wed, 26 Feb 2014 05:48:10 +0000 (06:48 +0100)]
Get larger images from WoT, let the browser scale it down.

This will improve image quality on Retina displays.

10 years agoFilter values of profile fields.
David ‘Bombe’ Roden [Mon, 24 Feb 2014 05:43:42 +0000 (06:43 +0100)]
Filter values of profile fields.

This fixes #334.

10 years agoOnly refuse to set creation time if it’s different from the current one.
David ‘Bombe’ Roden [Sun, 19 Jan 2014 13:14:57 +0000 (14:14 +0100)]
Only refuse to set creation time if it’s different from the current one.

10 years agoSet encoding in compiler plugin.
David ‘Bombe’ Roden [Fri, 13 Dec 2013 18:07:06 +0000 (19:07 +0100)]
Set encoding in compiler plugin.

11 years agoUse better check for whether the root album has been reached.
David ‘Bombe’ Roden [Fri, 22 Nov 2013 18:35:59 +0000 (19:35 +0100)]
Use better check for whether the root album has been reached.

11 years agoCopy insert URI of original Sone when parsing a new Sone.
David ‘Bombe’ Roden [Fri, 11 Oct 2013 06:22:03 +0000 (08:22 +0200)]
Copy insert URI of original Sone when parsing a new Sone.

This, once again, fixes the Rescue Mode.

11 years agoSet changed values differently.
David ‘Bombe’ Roden [Fri, 11 Oct 2013 06:21:43 +0000 (08:21 +0200)]
Set changed values differently.

11 years agoFix and relax checks.
David ‘Bombe’ Roden [Fri, 11 Oct 2013 06:21:34 +0000 (08:21 +0200)]
Fix and relax checks.

During loading most of the checks fail, effectively preventing loading.

11 years agoExtract an interface out of Sone.
David ‘Bombe’ Roden [Thu, 10 Oct 2013 19:36:46 +0000 (21:36 +0200)]
Extract an interface out of Sone.

11 years agoDon’t check for the presence of the album image in the album.
David ‘Bombe’ Roden [Thu, 10 Oct 2013 19:31:08 +0000 (21:31 +0200)]
Don’t check for the presence of the album image in the album.

As the albums are loaded and instantiated before the images are loaded,
this will inevitably fail during loading.

11 years agoAdd image builder that creates “old” images.
David ‘Bombe’ Roden [Thu, 10 Oct 2013 11:06:11 +0000 (13:06 +0200)]
Add image builder that creates “old” images.

11 years agoRemove obsolete import.
David ‘Bombe’ Roden [Thu, 10 Oct 2013 06:01:32 +0000 (08:01 +0200)]
Remove obsolete import.

11 years agoUse an album modifier for setting title, description, and album image.
David ‘Bombe’ Roden [Thu, 10 Oct 2013 06:01:27 +0000 (08:01 +0200)]
Use an album modifier for setting title, description, and album image.

The rest of modifications will follow.

11 years agoUse the memory database to create all albums.
David ‘Bombe’ Roden [Wed, 9 Oct 2013 19:47:21 +0000 (21:47 +0200)]
Use the memory database to create all albums.

11 years agoAdd album builder creation to memory database.
David ‘Bombe’ Roden [Wed, 9 Oct 2013 19:47:08 +0000 (21:47 +0200)]
Add album builder creation to memory database.

11 years agoAdd album builder that can create the “old” album objects.
David ‘Bombe’ Roden [Wed, 9 Oct 2013 19:46:47 +0000 (21:46 +0200)]
Add album builder that can create the “old” album objects.

11 years agoAdd base implementation of an album builder.
David ‘Bombe’ Roden [Wed, 9 Oct 2013 19:46:30 +0000 (21:46 +0200)]
Add base implementation of an album builder.

11 years agoAdd album builder factory.
David ‘Bombe’ Roden [Wed, 9 Oct 2013 19:46:10 +0000 (21:46 +0200)]
Add album builder factory.

11 years agoAdd album builder interface.
David ‘Bombe’ Roden [Wed, 9 Oct 2013 19:45:20 +0000 (21:45 +0200)]
Add album builder interface.

11 years agoUse the memory database instead of storing the albums in the core.
David ‘Bombe’ Roden [Wed, 9 Oct 2013 17:47:07 +0000 (19:47 +0200)]
Use the memory database instead of storing the albums in the core.

11 years agoAdd first small tests for the memory database.
David ‘Bombe’ Roden [Wed, 9 Oct 2013 17:46:41 +0000 (19:46 +0200)]
Add first small tests for the memory database.

11 years agoIntegrate basic album storage and retrieval in memory database.
David ‘Bombe’ Roden [Wed, 9 Oct 2013 17:46:32 +0000 (19:46 +0200)]
Integrate basic album storage and retrieval in memory database.

11 years agoImprove static imports.
David ‘Bombe’ Roden [Wed, 9 Oct 2013 17:29:47 +0000 (19:29 +0200)]
Improve static imports.

11 years agoExtract album interface.
David ‘Bombe’ Roden [Wed, 9 Oct 2013 05:17:20 +0000 (07:17 +0200)]
Extract album interface.

11 years agoAdd accessor for all top-level albums of a Sone.
David ‘Bombe’ Roden [Mon, 30 Sep 2013 19:01:49 +0000 (21:01 +0200)]
Add accessor for all top-level albums of a Sone.

11 years agoMerge remote-tracking branch 'hernic/patch-4' into next
David ‘Bombe’ Roden [Fri, 27 Sep 2013 04:29:50 +0000 (06:29 +0200)]
Merge remote-tracking branch 'hernic/patch-4' into next

11 years agoUpdate French translation.
David ‘Bombe’ Roden [Fri, 27 Sep 2013 04:29:41 +0000 (06:29 +0200)]
Update French translation.

11 years agoUpdate sone.fr.properties
nicolas hernandez [Thu, 26 Sep 2013 20:56:48 +0000 (22:56 +0200)]
Update sone.fr.properties

$ was missing

11 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Wed, 25 Sep 2013 18:10:36 +0000 (20:10 +0200)]
Merge branch 'master' into next

11 years agoMerge branch 'release-0.8.7' 0.8.7
David ‘Bombe’ Roden [Wed, 25 Sep 2013 17:28:02 +0000 (19:28 +0200)]
Merge branch 'release-0.8.7'

11 years agoUpdate current homepage edition.
David ‘Bombe’ Roden [Wed, 25 Sep 2013 17:27:22 +0000 (19:27 +0200)]
Update current homepage edition.

11 years agoSet version to 0.8.7.
David ‘Bombe’ Roden [Wed, 25 Sep 2013 17:27:05 +0000 (19:27 +0200)]
Set version to 0.8.7.

11 years agoFix static import.
David ‘Bombe’ Roden [Sun, 22 Sep 2013 20:12:22 +0000 (22:12 +0200)]
Fix static import.

11 years agoFix whitespace.
David ‘Bombe’ Roden [Sun, 22 Sep 2013 20:12:08 +0000 (22:12 +0200)]
Fix whitespace.

11 years agoRemove unnecessary parameters.
David ‘Bombe’ Roden [Sun, 22 Sep 2013 20:11:58 +0000 (22:11 +0200)]
Remove unnecessary parameters.

11 years agoUse more concise syntax for array creation.
David ‘Bombe’ Roden [Sun, 22 Sep 2013 20:11:08 +0000 (22:11 +0200)]
Use more concise syntax for array creation.

11 years agoUse local variables where appropriate.
David ‘Bombe’ Roden [Sun, 22 Sep 2013 20:09:42 +0000 (22:09 +0200)]
Use local variables where appropriate.

11 years agoStore top Sone node in a global variable.
David ‘Bombe’ Roden [Sun, 22 Sep 2013 20:06:50 +0000 (22:06 +0200)]
Store top Sone node in a global variable.

11 years agoFix jQuery selectors for locating the reply input field.
David ‘Bombe’ Roden [Sun, 22 Sep 2013 19:53:06 +0000 (21:53 +0200)]
Fix jQuery selectors for locating the reply input field.

11 years agoRemove markers for untranslated lines.
David ‘Bombe’ Roden [Wed, 18 Sep 2013 08:15:37 +0000 (10:15 +0200)]
Remove markers for untranslated lines.

11 years agoFix some FindBugs warnings.
David ‘Bombe’ Roden [Tue, 17 Sep 2013 20:54:32 +0000 (22:54 +0200)]
Fix some FindBugs warnings.

11 years agoOverride equals() and hashCode() to make clear that they don’t need to be.
David ‘Bombe’ Roden [Tue, 17 Sep 2013 13:28:21 +0000 (15:28 +0200)]
Override equals() and hashCode() to make clear that they don’t need to be.

11 years agoIterate over the entries instead of only the keys.
David ‘Bombe’ Roden [Tue, 17 Sep 2013 13:20:38 +0000 (15:20 +0200)]
Iterate over the entries instead of only the keys.

11 years agoDon’t get the current Sone, we allow to modify local Sones only.
David ‘Bombe’ Roden [Tue, 17 Sep 2013 13:17:38 +0000 (15:17 +0200)]
Don’t get the current Sone, we allow to modify local Sones only.

11 years agoUpdate Polish translation.
Presender [Mon, 16 Sep 2013 17:27:01 +0000 (19:27 +0200)]
Update Polish translation.

11 years agoUpdate Japanese translation.
Hideki Saito [Mon, 16 Sep 2013 17:26:21 +0000 (19:26 +0200)]
Update Japanese translation.

11 years agoRemove code block without effect.
David ‘Bombe’ Roden [Thu, 12 Sep 2013 05:41:38 +0000 (07:41 +0200)]
Remove code block without effect.

11 years agoReformat.
David ‘Bombe’ Roden [Thu, 12 Sep 2013 04:35:25 +0000 (06:35 +0200)]
Reformat.

11 years agoRemove another unnecessary class.
David ‘Bombe’ Roden [Thu, 12 Sep 2013 04:35:13 +0000 (06:35 +0200)]
Remove another unnecessary class.

11 years agoRemove unnecessary class.
David ‘Bombe’ Roden [Wed, 11 Sep 2013 21:02:29 +0000 (23:02 +0200)]
Remove unnecessary class.

11 years agoMake FindBugs timeout configurable via command line parameters.
David ‘Bombe’ Roden [Wed, 11 Sep 2013 17:51:23 +0000 (19:51 +0200)]
Make FindBugs timeout configurable via command line parameters.

11 years agoDon’t tie FindBugs to any phase.
David ‘Bombe’ Roden [Wed, 11 Sep 2013 17:12:17 +0000 (19:12 +0200)]
Don’t tie FindBugs to any phase.

11 years agoRun FindBugs when test is run.
David ‘Bombe’ Roden [Tue, 10 Sep 2013 20:01:49 +0000 (22:01 +0200)]
Run FindBugs when test is run.

11 years agoMake it possible to override utils version on the command line.
David ‘Bombe’ Roden [Tue, 10 Sep 2013 11:50:43 +0000 (13:50 +0200)]
Make it possible to override utils version on the command line.

11 years agoUse stable version of utils.
David ‘Bombe’ Roden [Mon, 9 Sep 2013 09:02:35 +0000 (11:02 +0200)]
Use stable version of utils.

11 years agoClose output stream before sending the page to the browser.
David ‘Bombe’ Roden [Fri, 6 Sep 2013 05:04:18 +0000 (07:04 +0200)]
Close output stream before sending the page to the browser.

11 years agoUse utils snapshot.
David ‘Bombe’ Roden [Fri, 6 Sep 2013 05:01:07 +0000 (07:01 +0200)]
Use utils snapshot.