David ‘Bombe’ Roden [Thu, 4 Jul 2013 05:04:01 +0000 (07:04 +0200)]
Use a multimap to store trust relationships.
David ‘Bombe’ Roden [Sun, 30 Jun 2013 16:37:06 +0000 (18:37 +0200)]
Revert "Don’t reregister a USK if it already is registered."
This reverts commit
502286e9afcad2ec3af1695af686ba6f671ba2ea.
David ‘Bombe’ Roden [Sat, 29 Jun 2013 15:30:22 +0000 (17:30 +0200)]
Always unwrap the optional.
David ‘Bombe’ Roden [Sat, 29 Jun 2013 14:45:18 +0000 (16:45 +0200)]
Merge branch 'master' into next
David ‘Bombe’ Roden [Sat, 29 Jun 2013 14:19:50 +0000 (16:19 +0200)]
Merge branch 'release-0.8.5'
David ‘Bombe’ Roden [Sat, 29 Jun 2013 14:19:29 +0000 (16:19 +0200)]
Set homepage edition to 56.
David ‘Bombe’ Roden [Sat, 29 Jun 2013 14:19:19 +0000 (16:19 +0200)]
Set version to 0.8.5.
David ‘Bombe’ Roden [Sat, 29 Jun 2013 14:17:18 +0000 (16:17 +0200)]
Use most recent utils version.
David ‘Bombe’ Roden [Sat, 29 Jun 2013 11:11:47 +0000 (13:11 +0200)]
Merge branch 'partial-rewrite' into next
David ‘Bombe’ Roden [Sat, 29 Jun 2013 11:10:18 +0000 (13:10 +0200)]
Merge branch 'lock-sones-via-fcp-317' into next
David ‘Bombe’ Roden [Sat, 29 Jun 2013 11:10:00 +0000 (13:10 +0200)]
Add tests for LockSoneCommand and UnlockSoneCommand, use newer JUnit, add Mockito dependency.
David ‘Bombe’ Roden [Sat, 29 Jun 2013 11:09:22 +0000 (13:09 +0200)]
Add “LockSone” and “UnlockSone” FCP commands.
David ‘Bombe’ Roden [Sun, 9 Jun 2013 08:25:19 +0000 (10:25 +0200)]
Merge remote-tracking branch 'hernic/patch-1' into next
nicolas hernandez [Sat, 8 Jun 2013 15:46:00 +0000 (17:46 +0200)]
minor updates
David ‘Bombe’ Roden [Fri, 3 May 2013 23:21:05 +0000 (01:21 +0200)]
Fix check for valid Sone IDs.
David ‘Bombe’ Roden [Wed, 13 Mar 2013 19:27:44 +0000 (20:27 +0100)]
Formatting.
David ‘Bombe’ Roden [Wed, 13 Mar 2013 19:27:03 +0000 (20:27 +0100)]
Organize imports.
David ‘Bombe’ Roden [Wed, 13 Mar 2013 19:26:40 +0000 (20:26 +0100)]
Add missing method.
David ‘Bombe’ Roden [Wed, 13 Mar 2013 18:43:58 +0000 (19:43 +0100)]
Formatting.
David ‘Bombe’ Roden [Wed, 13 Mar 2013 18:43:23 +0000 (19:43 +0100)]
Reorder imports.
David ‘Bombe’ Roden [Sat, 16 Feb 2013 01:33:11 +0000 (02:33 +0100)]
Remove getAllAlbums() method, use album flattener.
David ‘Bombe’ Roden [Sat, 16 Feb 2013 01:27:01 +0000 (02:27 +0100)]
Add function to flatten an album and all albums beneath it.
David ‘Bombe’ Roden [Thu, 14 Feb 2013 05:40:06 +0000 (06:40 +0100)]
Remove all post replies of the given Sone before storing the new post replies.
David ‘Bombe’ Roden [Wed, 13 Feb 2013 18:06:23 +0000 (19:06 +0100)]
Move memory post reply builder to its own file.
David ‘Bombe’ Roden [Wed, 13 Feb 2013 18:03:17 +0000 (19:03 +0100)]
Move memory post builder to its own file.
David ‘Bombe’ Roden [Mon, 11 Feb 2013 21:24:08 +0000 (22:24 +0100)]
Don’t reregister a USK if it already is registered.
David ‘Bombe’ Roden [Sat, 9 Feb 2013 22:03:08 +0000 (23:03 +0100)]
Extract a local variable and use TimeUnit to increase readability.
David ‘Bombe’ Roden [Sat, 9 Feb 2013 02:36:15 +0000 (03:36 +0100)]
Add and use memory-based post reply implementation.
David ‘Bombe’ Roden [Sat, 9 Feb 2013 02:01:27 +0000 (03:01 +0100)]
Log exception when a JSON reply can not be generated.
David ‘Bombe’ Roden [Sat, 9 Feb 2013 02:01:13 +0000 (03:01 +0100)]
Remove all elements from a notification.
David ‘Bombe’ Roden [Mon, 4 Feb 2013 05:36:08 +0000 (06:36 +0100)]
Extract abstract post reply builder class.
David ‘Bombe’ Roden [Sun, 3 Feb 2013 22:07:54 +0000 (23:07 +0100)]
Only use post IDs in post reply provider interface.
David ‘Bombe’ Roden [Sun, 3 Feb 2013 12:11:11 +0000 (13:11 +0100)]
Use SHA-256 hashes for fingerprinting.
The fingerprint for my Sone was a string that occupied more than 3 MB
in memory alone. That is completely unnecessary.
David ‘Bombe’ Roden [Sat, 2 Feb 2013 21:49:37 +0000 (22:49 +0100)]
Use memory-based post database implementation.
David ‘Bombe’ Roden [Sat, 2 Feb 2013 21:49:29 +0000 (22:49 +0100)]
Add memory-based post database implementation.
David ‘Bombe’ Roden [Sat, 2 Feb 2013 21:49:19 +0000 (22:49 +0100)]
Add post database interface.
David ‘Bombe’ Roden [Sat, 2 Feb 2013 21:49:11 +0000 (22:49 +0100)]
Add post store interface.
David ‘Bombe’ Roden [Sat, 2 Feb 2013 21:48:56 +0000 (22:48 +0100)]
Add method to get all posts of a Sone to post provider interface.
David ‘Bombe’ Roden [Sat, 2 Feb 2013 21:47:22 +0000 (22:47 +0100)]
Copy options when rescuing Sone.
David ‘Bombe’ Roden [Sat, 2 Feb 2013 21:45:36 +0000 (22:45 +0100)]
Fix calculation of weeks.
David ‘Bombe’ Roden [Sat, 2 Feb 2013 21:44:01 +0000 (22:44 +0100)]
Implement enhanced Sone provider correctly.
David ‘Bombe’ Roden [Fri, 1 Feb 2013 07:07:24 +0000 (08:07 +0100)]
Fix error when removing reply for unknown post.
David ‘Bombe’ Roden [Tue, 29 Jan 2013 05:45:28 +0000 (06:45 +0100)]
Move more methods to the Sone provider interface.
David ‘Bombe’ Roden [Tue, 29 Jan 2013 05:43:37 +0000 (06:43 +0100)]
Move getSones() method to Sone provider interface.
David ‘Bombe’ Roden [Tue, 29 Jan 2013 05:43:24 +0000 (06:43 +0100)]
Fix synchronization.
David ‘Bombe’ Roden [Tue, 29 Jan 2013 05:42:32 +0000 (06:42 +0100)]
Fix storage of post ID in Sone’s XML.
David ‘Bombe’ Roden [Tue, 29 Jan 2013 05:42:20 +0000 (06:42 +0100)]
Remove unnecessary method.
David ‘Bombe’ Roden [Mon, 28 Jan 2013 21:46:31 +0000 (22:46 +0100)]
Check correctly for a reply’s post ID.
David ‘Bombe’ Roden [Mon, 28 Jan 2013 21:46:22 +0000 (22:46 +0100)]
Check correctly for recipient ID.
David ‘Bombe’ Roden [Mon, 28 Jan 2013 21:46:03 +0000 (22:46 +0100)]
Use getId() instead of accessing id directly for Identity objects.
David ‘Bombe’ Roden [Mon, 28 Jan 2013 21:45:43 +0000 (22:45 +0100)]
Prevent NPE when creating a new Sone.
David ‘Bombe’ Roden [Mon, 28 Jan 2013 07:44:41 +0000 (08:44 +0100)]
Don’t exit prematurely.
David ‘Bombe’ Roden [Mon, 28 Jan 2013 07:44:29 +0000 (08:44 +0100)]
Remove hasRecipient method.
David ‘Bombe’ Roden [Sun, 27 Jan 2013 21:14:35 +0000 (22:14 +0100)]
Fix check for a recipient.
David ‘Bombe’ Roden [Sun, 27 Jan 2013 21:14:26 +0000 (22:14 +0100)]
Make Sone returned by a Sone provider optional.
David ‘Bombe’ Roden [Sun, 27 Jan 2013 15:24:43 +0000 (16:24 +0100)]
Remove unnecessary warning suppression.
David ‘Bombe’ Roden [Sun, 27 Jan 2013 10:53:12 +0000 (11:53 +0100)]
Extract an abstract post builder.
David ‘Bombe’ Roden [Sat, 26 Jan 2013 11:40:07 +0000 (12:40 +0100)]
Add own posts and replies to all posts and replies.
David ‘Bombe’ Roden [Sat, 26 Jan 2013 11:39:52 +0000 (12:39 +0100)]
Whitespace fix.
David ‘Bombe’ Roden [Sat, 26 Jan 2013 11:35:09 +0000 (12:35 +0100)]
Merge branch 'partial-rewrite' into less-critical
Conflicts:
src/main/java/net/pterodactylus/sone/data/impl/DefaultPostBuilderFactory.java
src/main/java/net/pterodactylus/sone/text/SoneTextParser.java
David ‘Bombe’ Roden [Sat, 26 Jan 2013 10:41:18 +0000 (11:41 +0100)]
Don’t call Optional.get() on potentially non-existing instance.
David ‘Bombe’ Roden [Sat, 26 Jan 2013 10:03:40 +0000 (11:03 +0100)]
Return the real time a Sone was followed.
David ‘Bombe’ Roden [Sat, 26 Jan 2013 00:03:01 +0000 (01:03 +0100)]
Update a newly parsed Sone’s status directly after parsing.
David ‘Bombe’ Roden [Sat, 26 Jan 2013 00:02:15 +0000 (01:02 +0100)]
Check correctly for the presence of a post.
David ‘Bombe’ Roden [Fri, 25 Jan 2013 21:00:37 +0000 (22:00 +0100)]
Use hasClass() instead of is().
David ‘Bombe’ Roden [Fri, 25 Jan 2013 19:14:21 +0000 (20:14 +0100)]
David ‘Bombe’ Roden [Fri, 25 Jan 2013 19:13:58 +0000 (20:13 +0100)]
Avoid retaining multiple copies of elements.
David ‘Bombe’ Roden [Fri, 25 Jan 2013 19:09:32 +0000 (20:09 +0100)]
Fix retrieval of post replies.
David ‘Bombe’ Roden [Fri, 25 Jan 2013 18:18:43 +0000 (19:18 +0100)]
Make constructor injectable.
David ‘Bombe’ Roden [Fri, 25 Jan 2013 18:07:55 +0000 (19:07 +0100)]
Merge commit '
173eb2df26ebc15a6aa5565ec15dfad37bfa61a1' into run
Conflicts:
src/main/java/net/pterodactylus/sone/core/Core.java
David ‘Bombe’ Roden [Fri, 25 Jan 2013 17:19:33 +0000 (18:19 +0100)]
Only list replies whose posts exist.
David ‘Bombe’ Roden [Fri, 25 Jan 2013 06:35:43 +0000 (07:35 +0100)]
Shut down downloader thread pool when stopping the core.
David ‘Bombe’ Roden [Fri, 25 Jan 2013 06:23:10 +0000 (07:23 +0100)]
Merge branch 'less-critical' into run
David ‘Bombe’ Roden [Thu, 24 Jan 2013 20:58:28 +0000 (21:58 +0100)]
Only run a single core!
David ‘Bombe’ Roden [Thu, 24 Jan 2013 06:43:14 +0000 (07:43 +0100)]
Add filter for replies with posts.
David ‘Bombe’ Roden [Thu, 24 Jan 2013 06:42:59 +0000 (07:42 +0100)]
Make post returned by post reply optional.
David ‘Bombe’ Roden [Thu, 24 Jan 2013 06:42:08 +0000 (07:42 +0100)]
Return ID of the post from post reply.
David ‘Bombe’ Roden [Thu, 24 Jan 2013 05:41:29 +0000 (06:41 +0100)]
Make post returned by post provider optional.
David ‘Bombe’ Roden [Thu, 24 Jan 2013 05:22:59 +0000 (06:22 +0100)]
Make post reply returned by provider optional.
David ‘Bombe’ Roden [Thu, 24 Jan 2013 05:10:32 +0000 (06:10 +0100)]
Merge commit '
fcabe38e9b3abacc0d580bf0513600858aee2eca' into less-critical
Conflicts:
src/main/java/net/pterodactylus/sone/core/Core.java
David ‘Bombe’ Roden [Thu, 24 Jan 2013 05:06:54 +0000 (06:06 +0100)]
Use different way to get replies for a post.
David ‘Bombe’ Roden [Tue, 22 Jan 2013 06:57:29 +0000 (07:57 +0100)]
Fix checks for ID and time.
David ‘Bombe’ Roden [Wed, 23 Jan 2013 22:02:45 +0000 (23:02 +0100)]
Use convenience method to get post builder.
David ‘Bombe’ Roden [Wed, 23 Jan 2013 21:57:30 +0000 (22:57 +0100)]
David ‘Bombe’ Roden [Wed, 23 Jan 2013 06:02:35 +0000 (07:02 +0100)]
Don’t remove ticker object when notification is shown.
This will prevent an NPE if the Sone is unlocked.
David ‘Bombe’ Roden [Tue, 22 Jan 2013 14:39:38 +0000 (15:39 +0100)]
Move builder and factories to database package.
David ‘Bombe’ Roden [Tue, 22 Jan 2013 14:38:22 +0000 (15:38 +0100)]
Move provider interfaces to database package.
David ‘Bombe’ Roden [Tue, 22 Jan 2013 12:28:12 +0000 (13:28 +0100)]
Implement getDirectedSones() differently, adhere to new post provider interface.
David ‘Bombe’ Roden [Tue, 22 Jan 2013 11:58:55 +0000 (12:58 +0100)]
Add method to get posts directed at a certain Sone to post provider interface.
David ‘Bombe’ Roden [Tue, 22 Jan 2013 10:27:11 +0000 (11:27 +0100)]
Remove possibility to create Sones from sone provider interface.
David ‘Bombe’ Roden [Tue, 22 Jan 2013 10:26:27 +0000 (11:26 +0100)]
Store Sone IDs in with Sone following times.
David ‘Bombe’ Roden [Tue, 22 Jan 2013 09:31:48 +0000 (10:31 +0100)]
Only store IDs of Sones in replies.
David ‘Bombe’ Roden [Tue, 22 Jan 2013 09:22:29 +0000 (10:22 +0100)]
Only store sender and recipient IDs in a post.
David ‘Bombe’ Roden [Tue, 22 Jan 2013 08:55:29 +0000 (09:55 +0100)]
Make posts (more or less) immutable.
David ‘Bombe’ Roden [Tue, 22 Jan 2013 08:46:05 +0000 (09:46 +0100)]
Make replies (more or less) immutable after creation.
David ‘Bombe’ Roden [Tue, 22 Jan 2013 08:38:18 +0000 (09:38 +0100)]
Only store the post ID in the reply.
David ‘Bombe’ Roden [Tue, 22 Jan 2013 08:31:53 +0000 (09:31 +0100)]
Remove method to create Sone URIs.
David ‘Bombe’ Roden [Tue, 22 Jan 2013 06:57:29 +0000 (07:57 +0100)]
Fix checks for ID and time.
David ‘Bombe’ Roden [Fri, 18 Jan 2013 21:56:42 +0000 (22:56 +0100)]
Add helper for Sone URIs.
David ‘Bombe’ Roden [Fri, 18 Jan 2013 15:48:42 +0000 (16:48 +0100)]
Implement post reply provider interface in core.