Sone.git
11 years agoReplace utils’ HashCode by Java’s hashCode().
David ‘Bombe’ Roden [Thu, 17 Jan 2013 14:41:50 +0000 (15:41 +0100)]
Replace utils’ HashCode by Java’s hashCode().

Actually, Collection.hashCode() is already required to calculate a “good” hashcode
to fulfill the contract of equals() and hashCode().

11 years agoReplace utils’ Default with Guava’s Optional.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 14:29:23 +0000 (15:29 +0100)]
Replace utils’ Default with Guava’s Optional.

11 years agoReplace utils’ StreamCopier by Guava’s ByteStreams.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 14:21:13 +0000 (15:21 +0100)]
Replace utils’ StreamCopier by Guava’s ByteStreams.

11 years agoReplace utils’ Validator with Guava’s Predicate.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 14:17:48 +0000 (15:17 +0100)]
Replace utils’ Validator with Guava’s Predicate.

11 years agoDon’t declare exceptions that are never thrown.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 13:31:25 +0000 (14:31 +0100)]
Don’t declare exceptions that are never thrown.

11 years agoUpdate copyright headers.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 13:23:16 +0000 (14:23 +0100)]
Update copyright headers.

11 years agoFix header comments.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 13:12:14 +0000 (14:12 +0100)]
Fix header comments.

11 years agoFormatting.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 13:14:10 +0000 (14:14 +0100)]
Formatting.

11 years agoExtract Reply and PostReply interfaces.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 13:13:49 +0000 (14:13 +0100)]
Extract Reply and PostReply interfaces.

11 years agoMove the core’s preferences into their own type.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 12:12:44 +0000 (13:12 +0100)]
Move the core’s preferences into their own type.

11 years agoFormatting fixes.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 12:00:02 +0000 (13:00 +0100)]
Formatting fixes.

11 years agoTrim texts of posts and replies before posting.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 11:59:49 +0000 (12:59 +0100)]
Trim texts of posts and replies before posting.

11 years agoReplace utils’ Validation by Guava’s Preconditions.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 11:59:30 +0000 (12:59 +0100)]
Replace utils’ Validation by Guava’s Preconditions.

11 years agoShow all javadoc information, after all it’s for developers.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 09:26:58 +0000 (10:26 +0100)]
Show all javadoc information, after all it’s for developers.

11 years agoAdd javadoc overview file.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 09:23:31 +0000 (10:23 +0100)]
Add javadoc overview file.

11 years agoChange visibility of hit mapper.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 09:23:16 +0000 (10:23 +0100)]
Change visibility of hit mapper.

11 years agoFix javadoc plugin configuration.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 09:23:02 +0000 (10:23 +0100)]
Fix javadoc plugin configuration.

11 years agoFix javadoc tags.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 09:00:45 +0000 (10:00 +0100)]
Fix javadoc tags.

11 years agoConvert plugin replies to EventBus-based events.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 06:38:03 +0000 (07:38 +0100)]
Convert plugin replies to EventBus-based events.

11 years agoConvert identity events into EventBus-based events.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 05:59:16 +0000 (06:59 +0100)]
Convert identity events into EventBus-based events.

11 years agoConvert update events to EventBus-based events.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 05:36:17 +0000 (06:36 +0100)]
Convert update events to EventBus-based events.

11 years agoReformat.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 05:32:21 +0000 (06:32 +0100)]
Reformat.

11 years agoConvert Sone insert events to EventBus-based events.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 05:32:12 +0000 (06:32 +0100)]
Convert Sone insert events to EventBus-based events.

11 years agoConvert image insert events to EventBus-based events.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 05:17:47 +0000 (06:17 +0100)]
Convert image insert events to EventBus-based events.

11 years agoOnly create new Sones if create is true.
David ‘Bombe’ Roden [Thu, 17 Jan 2013 05:10:00 +0000 (06:10 +0100)]
Only create new Sones if create is true.

11 years agoAutomatically register all injected objects with the event bus.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 21:33:19 +0000 (22:33 +0100)]
Automatically register all injected objects with the event bus.

11 years agoRemove core listener.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 21:33:04 +0000 (22:33 +0100)]
Remove core listener.

11 years agoConvert “image insert failed” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 21:31:58 +0000 (22:31 +0100)]
Convert “image insert failed” into EventBus-based event.

11 years agoConvert “image insert finished” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 20:58:49 +0000 (21:58 +0100)]
Convert “image insert finished” into EventBus-based event.

11 years agoConvert “image insert aborted” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 20:56:11 +0000 (21:56 +0100)]
Convert “image insert aborted” into EventBus-based event.

11 years agoConvert “image is inserted” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 18:32:48 +0000 (19:32 +0100)]
Convert “image is inserted” into EventBus-based event.

11 years agoAdd base class for image events.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 18:32:24 +0000 (19:32 +0100)]
Add base class for image events.

11 years agoConvert “update found” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 18:27:47 +0000 (19:27 +0100)]
Convert “update found” into EventBus-based event.

11 years agoConvert “Sone insert was aborted” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 18:22:45 +0000 (19:22 +0100)]
Convert “Sone insert was aborted” into EventBus-based event.

11 years agoConvert “Sone was inserted” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 18:18:42 +0000 (19:18 +0100)]
Convert “Sone was inserted” into EventBus-based event.

11 years agoConvert “Sone is being inserted” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 18:14:56 +0000 (19:14 +0100)]
Convert “Sone is being inserted” into EventBus-based event.

11 years agoConvert “Sone unlocked” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 18:10:27 +0000 (19:10 +0100)]
Convert “Sone unlocked” into EventBus-based event.

11 years agoConvert “Sone locked” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 18:08:19 +0000 (19:08 +0100)]
Convert “Sone locked” into EventBus-based event.

11 years agoConvert “post reply removed” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 18:02:53 +0000 (19:02 +0100)]
Convert “post reply removed” into EventBus-based event.

11 years agoConvert “post removed” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 17:58:27 +0000 (18:58 +0100)]
Convert “post removed” into EventBus-based event.

11 years agoConvert “Sone removed” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 17:53:57 +0000 (18:53 +0100)]
Convert “Sone removed” into EventBus-based event.

11 years agoFix javadoc.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 17:51:45 +0000 (18:51 +0100)]
Fix javadoc.

11 years agoCreate a new set, the returned set is immutable.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 17:49:09 +0000 (18:49 +0100)]
Create a new set, the returned set is immutable.

11 years agoAdd javadoc.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 17:48:46 +0000 (18:48 +0100)]
Add javadoc.

11 years agoConvert “post reply marked as known” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 16:25:15 +0000 (17:25 +0100)]
Convert “post reply marked as known” into EventBus-based event.

11 years agoConvert “post marked as known” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 16:13:24 +0000 (17:13 +0100)]
Convert “post marked as known” into EventBus-based event.

11 years agoConvert “Sone marked as known” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 15:43:55 +0000 (16:43 +0100)]
Convert “Sone marked as known” into EventBus-based event.

11 years agoConvert “new post reply found” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 15:35:35 +0000 (16:35 +0100)]
Convert “new post reply found” into EventBus-based event.

11 years agoAdd base class for post reply events.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 15:35:24 +0000 (16:35 +0100)]
Add base class for post reply events.

11 years agoConvert “new post found” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 15:22:05 +0000 (16:22 +0100)]
Convert “new post found” into EventBus-based event.

11 years agoAdd base class for post events.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 15:21:36 +0000 (16:21 +0100)]
Add base class for post events.

11 years agoConvert “new Sound found” into EventBus-based event.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 14:27:57 +0000 (15:27 +0100)]
Convert “new Sound found” into EventBus-based event.

11 years agoAdd base class for Sone events.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 14:27:43 +0000 (15:27 +0100)]
Add base class for Sone events.

11 years agoAdd web interface as listener for event bus.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 14:29:00 +0000 (15:29 +0100)]
Add web interface as listener for event bus.

11 years agoAdd event bus to Core.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 14:28:34 +0000 (15:28 +0100)]
Add event bus to Core.

11 years agoUse Guava to sort the hits.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 14:15:53 +0000 (15:15 +0100)]
Use Guava to sort the hits.

11 years agoReplace utils’ Mapper(s) by Guava’s FluentIterable and Function.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 14:15:33 +0000 (15:15 +0100)]
Replace utils’ Mapper(s) by Guava’s FluentIterable and Function.

11 years agoReplace utils’ Cache with Guava’s LoadingCache.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 13:49:12 +0000 (14:49 +0100)]
Replace utils’ Cache with Guava’s LoadingCache.

11 years agoReplace utils’ SetBuilder by Guava’s ImmutableSet.Builder.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 11:49:22 +0000 (12:49 +0100)]
Replace utils’ SetBuilder by Guava’s ImmutableSet.Builder.

11 years agoReplace utils’ ReverseComparator by Guava’s Ordering.reverse().
David ‘Bombe’ Roden [Wed, 16 Jan 2013 11:17:40 +0000 (12:17 +0100)]
Replace utils’ ReverseComparator by Guava’s Ordering.reverse().

11 years agoReplace utils’ Pair by custom containers.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 11:14:58 +0000 (12:14 +0100)]
Replace utils’ Pair by custom containers.

11 years agoReplace utils’ MapBuilder by Guava’s ImmutableMap.Builder.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 10:54:33 +0000 (11:54 +0100)]
Replace utils’ MapBuilder by Guava’s ImmutableMap.Builder.

11 years agoReplace utils’ ListBuilder by Guava’s ImmutableList.Builder.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 10:52:39 +0000 (11:52 +0100)]
Replace utils’ ListBuilder by Guava’s ImmutableList.Builder.

11 years agoReplace utils’ filter with Guava’s predicate.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 10:40:34 +0000 (11:40 +0100)]
Replace utils’ filter with Guava’s predicate.

11 years agoUse Guava’s predicate instead of utils’ filter.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 07:06:34 +0000 (08:06 +0100)]
Use Guava’s predicate instead of utils’ filter.

11 years agoAdd filter for local/remote Sones to “Known Sones” page.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 06:50:33 +0000 (07:50 +0100)]
Add filter for local/remote Sones to “Known Sones” page.

11 years agoSome javadoc fixes.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 06:18:03 +0000 (07:18 +0100)]
Some javadoc fixes.

11 years agoPrevent NPE.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 06:17:53 +0000 (07:17 +0100)]
Prevent NPE.

11 years agoWhitespace.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 06:13:30 +0000 (07:13 +0100)]
Whitespace.

11 years agoUse dependency injection to create Sone instance.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 06:13:08 +0000 (07:13 +0100)]
Use dependency injection to create Sone instance.

11 years agoStore locality of a Sone in the Sone itself.
David ‘Bombe’ Roden [Wed, 16 Jan 2013 06:10:11 +0000 (07:10 +0100)]
Store locality of a Sone in the Sone itself.

11 years agoAdd version numbers to maven plugin configurations.
David ‘Bombe’ Roden [Tue, 15 Jan 2013 20:52:31 +0000 (21:52 +0100)]
Add version numbers to maven plugin configurations.

11 years agoRevert "Add post reply provider interface."
David ‘Bombe’ Roden [Tue, 15 Jan 2013 20:22:29 +0000 (21:22 +0100)]
Revert "Add post reply provider interface."

This reverts commit 3004843df1db9f236177e9d98ed548152db68719.

11 years agoRevert "Implement post reply provider interface in Core."
David ‘Bombe’ Roden [Tue, 15 Jan 2013 20:22:28 +0000 (21:22 +0100)]
Revert "Implement post reply provider interface in Core."

This reverts commit 49f2c213001e91ccdfb51158e15b059d333438b7.

11 years agoImplement post reply provider interface in Core.
David ‘Bombe’ Roden [Tue, 15 Jan 2013 08:58:48 +0000 (09:58 +0100)]
Implement post reply provider interface in Core.

11 years agoAdd post reply provider interface.
David ‘Bombe’ Roden [Tue, 15 Jan 2013 08:58:08 +0000 (09:58 +0100)]
Add post reply provider interface.

11 years agoRename getReply() to getPostReply(), remove convenience method.
David ‘Bombe’ Roden [Tue, 15 Jan 2013 08:57:43 +0000 (09:57 +0100)]
Rename getReply() to getPostReply(), remove convenience method.

11 years agoAdd test for empty link bug.
David ‘Bombe’ Roden [Fri, 21 Dec 2012 06:53:17 +0000 (07:53 +0100)]
Add test for empty link bug.

11 years agoCheck for a link consisting only of the scheme, because that’s not a link.
David ‘Bombe’ Roden [Fri, 21 Dec 2012 06:53:03 +0000 (07:53 +0100)]
Check for a link consisting only of the scheme, because that’s not a link.

11 years agoAdd scheme to LinkType.
David ‘Bombe’ Roden [Fri, 21 Dec 2012 06:52:37 +0000 (07:52 +0100)]
Add scheme to LinkType.

11 years agoEncode URLs correctly when creating an external link.
David ‘Bombe’ Roden [Fri, 21 Dec 2012 06:40:56 +0000 (07:40 +0100)]
Encode URLs correctly when creating an external link.

11 years agoFix unit test failure.
David ‘Bombe’ Roden [Fri, 21 Dec 2012 06:32:18 +0000 (07:32 +0100)]
Fix unit test failure.

11 years agoMerge remote-tracking branch 'beak/next' into next
David ‘Bombe’ Roden [Fri, 21 Dec 2012 06:30:45 +0000 (07:30 +0100)]
Merge remote-tracking branch 'beak/next' into next

11 years agoMerge branch 'fix-avatar-selection-309' into next
David ‘Bombe’ Roden [Wed, 19 Dec 2012 16:22:49 +0000 (17:22 +0100)]
Merge branch 'fix-avatar-selection-309' into next

11 years agoUse correct filter parameter.
David ‘Bombe’ Roden [Wed, 19 Dec 2012 16:22:24 +0000 (17:22 +0100)]
Use correct filter parameter.

Since the filter parser already expands the given values, the key/value
distinction of MatchFilter is redundant.

11 years agoRename form variable to match the style of all other variables.
David ‘Bombe’ Roden [Wed, 19 Dec 2012 16:21:18 +0000 (17:21 +0100)]
Rename form variable to match the style of all other variables.

11 years agoFix URL for external links.
David ‘Bombe’ Roden [Mon, 17 Dec 2012 20:37:24 +0000 (21:37 +0100)]
Fix URL for external links.

12 years agoDownload updates via the thread factory, too.
David ‘Bombe’ Roden [Mon, 26 Nov 2012 14:28:36 +0000 (15:28 +0100)]
Download updates via the thread factory, too.

12 years agoUse named thread factory to create downloader threads.
David ‘Bombe’ Roden [Mon, 26 Nov 2012 14:28:25 +0000 (15:28 +0100)]
Use named thread factory to create downloader threads.

12 years agoCatch all exceptions when processing AJAX requests.
David ‘Bombe’ Roden [Wed, 21 Nov 2012 21:37:59 +0000 (22:37 +0100)]
Catch all exceptions when processing AJAX requests.

12 years agoCatch all exceptions when processing an FCP command.
David ‘Bombe’ Roden [Wed, 21 Nov 2012 21:36:06 +0000 (22:36 +0100)]
Catch all exceptions when processing an FCP command.

12 years agoDo not allow creation of empty posts and replies.
David ‘Bombe’ Roden [Wed, 21 Nov 2012 21:33:39 +0000 (22:33 +0100)]
Do not allow creation of empty posts and replies.

This should fix #304.

12 years agoSet known flag correctly when finding new posts and replies.
David ‘Bombe’ Roden [Tue, 16 Oct 2012 07:15:48 +0000 (09:15 +0200)]
Set known flag correctly when finding new posts and replies.

12 years agoUpdate French translation.
[DS] [Sat, 13 Oct 2012 16:41:48 +0000 (18:41 +0200)]
Update French translation.

12 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Sat, 13 Oct 2012 08:18:23 +0000 (10:18 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'release-0.8.4' 0.8.4
David ‘Bombe’ Roden [Sat, 13 Oct 2012 08:12:28 +0000 (10:12 +0200)]
Merge branch 'release-0.8.4'

12 years agoSet version to 0.8.4.
David ‘Bombe’ Roden [Sat, 13 Oct 2012 08:12:19 +0000 (10:12 +0200)]
Set version to 0.8.4.

12 years agoUpdate Sone homepage edition.
David ‘Bombe’ Roden [Sat, 13 Oct 2012 08:12:12 +0000 (10:12 +0200)]
Update Sone homepage edition.

12 years agoFix logging.
David ‘Bombe’ Roden [Sat, 13 Oct 2012 08:07:00 +0000 (10:07 +0200)]
Fix logging.

12 years agoAlways store all own identities.
David ‘Bombe’ Roden [Sat, 13 Oct 2012 08:06:30 +0000 (10:06 +0200)]
Always store all own identities.