Sone.git
13 years agoEnhance logging.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 14:27:20 +0000 (16:27 +0200)]
Enhance logging.

13 years agoOnly fetch Sone if the newest slot was found.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 14:27:11 +0000 (16:27 +0200)]
Only fetch Sone if the newest slot was found.

13 years agoStart the Sone downloader, otherwise it can not be stopped on shutdown.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 14:25:09 +0000 (16:25 +0200)]
Start the Sone downloader, otherwise it can not be stopped on shutdown.

13 years agoShow name of current sone on index page.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 14:14:14 +0000 (16:14 +0200)]
Show name of current sone on index page.

13 years agoDon’t access the Sone cache directly.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 14:12:03 +0000 (16:12 +0200)]
Don’t access the Sone cache directly.

13 years agoRemove the shell stuff, make objects mutable.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 14:10:44 +0000 (16:10 +0200)]
Remove the shell stuff, make objects mutable.

13 years agoStop logging when starting the plugin failed.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 13:35:45 +0000 (15:35 +0200)]
Stop logging when starting the plugin failed.

13 years agoDon’t use the Sone’s ID but (maybe) also the Sone’s shell’s ID.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 08:35:07 +0000 (10:35 +0200)]
Don’t use the Sone’s ID but (maybe) also the Sone’s shell’s ID.

13 years agoDon’t create new shells all the time!
David ‘Bombe’ Roden [Fri, 15 Oct 2010 08:32:34 +0000 (10:32 +0200)]
Don’t create new shells all the time!

13 years agoDon’t let a Sone add itself as friend!
David ‘Bombe’ Roden [Fri, 15 Oct 2010 08:27:21 +0000 (10:27 +0200)]
Don’t let a Sone add itself as friend!

13 years agoRename “friend Sone” to just “friend.”
David ‘Bombe’ Roden [Fri, 15 Oct 2010 07:42:18 +0000 (09:42 +0200)]
Rename “friend Sone” to just “friend.”

13 years agoDon’t let a Sone follow itself!
David ‘Bombe’ Roden [Fri, 15 Oct 2010 07:39:48 +0000 (09:39 +0200)]
Don’t let a Sone follow itself!

13 years agoShow number of friends.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 07:35:51 +0000 (09:35 +0200)]
Show number of friends.

13 years agoFix header.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 07:35:39 +0000 (09:35 +0200)]
Fix header.

13 years agoOutput class name, we might be a Shell.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 06:58:05 +0000 (08:58 +0200)]
Output class name, we might be a Shell.

13 years agoRename template.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 04:40:55 +0000 (06:40 +0200)]
Rename template.

13 years agoAdd “this Sone follows” section to “view Sone.”
David ‘Bombe’ Roden [Fri, 15 Oct 2010 04:38:42 +0000 (06:38 +0200)]
Add “this Sone follows” section to “view Sone.”

13 years agoLoad and save friends.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 04:38:24 +0000 (06:38 +0200)]
Load and save friends.

13 years agoAdd method to add remote Sones for watching.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 04:38:16 +0000 (06:38 +0200)]
Add method to add remote Sones for watching.

13 years agoAdd javadoc.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 04:35:01 +0000 (06:35 +0200)]
Add javadoc.

13 years agoDon’t store a Shell if there is already the real thing, always return the most real...
David ‘Bombe’ Roden [Fri, 15 Oct 2010 04:34:27 +0000 (06:34 +0200)]
Don’t store a Shell if there is already the real thing, always return the most real thing.

13 years agoRename “add friend” action to “follow Sone” for now.
David ‘Bombe’ Roden [Fri, 15 Oct 2010 04:17:22 +0000 (06:17 +0200)]
Rename “add friend” action to “follow Sone” for now.

13 years agoAdd logging.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 19:26:35 +0000 (21:26 +0200)]
Add logging.

13 years agoAdd Sone downloader.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 19:26:10 +0000 (21:26 +0200)]
Add Sone downloader.

13 years agoCreate keys correctly.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 19:22:54 +0000 (21:22 +0200)]
Create keys correctly.

13 years agoTerminate the list of Sones as well.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 19:19:03 +0000 (21:19 +0200)]
Terminate the list of Sones as well.

13 years agoOverride Object.toString().
David ‘Bombe’ Roden [Thu, 14 Oct 2010 19:08:15 +0000 (21:08 +0200)]
Override Object.toString().

13 years agoTerminate list of Posts and Replies (to prevent Ghost post/replies from appearing...
David ‘Bombe’ Roden [Thu, 14 Oct 2010 19:06:37 +0000 (21:06 +0200)]
Terminate list of Posts and Replies (to prevent Ghost post/replies from appearing after reloading the plugin).

13 years agoStore username instead of nice name.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 17:44:00 +0000 (19:44 +0200)]
Store username instead of nice name.

13 years agoStore more information about the Sone of replies.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 17:42:44 +0000 (19:42 +0200)]
Store more information about the Sone of replies.

13 years agoExtract nice name formatting into its own method.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 16:13:25 +0000 (18:13 +0200)]
Extract nice name formatting into its own method.

13 years agoAdd friends to Sone.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 16:11:00 +0000 (18:11 +0200)]
Add friends to Sone.

13 years agoAdd key and name of the posting Sone to all replies.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 16:10:54 +0000 (18:10 +0200)]
Add key and name of the posting Sone to all replies.

13 years agoUpdate the edition numbers in the keys.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 16:06:53 +0000 (18:06 +0200)]
Update the edition numbers in the keys.

13 years agoAdd method to update the suggested edition on the insert and request URIs.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 16:06:28 +0000 (18:06 +0200)]
Add method to update the suggested edition on the insert and request URIs.

13 years agoConvert the keys to USK when creating the Sone.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 16:06:15 +0000 (18:06 +0200)]
Convert the keys to USK when creating the Sone.

13 years agoDon’t try to get a null Sone.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 15:49:25 +0000 (17:49 +0200)]
Don’t try to get a null Sone.

13 years agoDon’t add Sone twice.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 15:49:17 +0000 (17:49 +0200)]
Don’t add Sone twice.

13 years agoStore all added Sones in the Sone cache.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 15:49:12 +0000 (17:49 +0200)]
Store all added Sones in the Sone cache.

13 years agoAdd page that adds a friend.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 14:42:45 +0000 (16:42 +0200)]
Add page that adds a friend.

13 years agoEvery time a Sone is fetched, see if it can be unshelled.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 14:13:11 +0000 (16:13 +0200)]
Every time a Sone is fetched, see if it can be unshelled.

13 years agoShow links for adding or removing friends.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 14:08:07 +0000 (16:08 +0200)]
Show links for adding or removing friends.

13 years agoAdd “isFriend” and “isCurrent” properties.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 14:07:54 +0000 (16:07 +0200)]
Add “isFriend” and “isCurrent” properties.

13 years agoSort posts in Sones.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 13:46:15 +0000 (15:46 +0200)]
Sort posts in Sones.

13 years agoReturn replies sorted.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 13:43:42 +0000 (15:43 +0200)]
Return replies sorted.

13 years agoPrevent NPEs when accessing an unset time.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 13:43:21 +0000 (15:43 +0200)]
Prevent NPEs when accessing an unset time.

13 years agoAlways return the replies sorted by time, oldest first.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 13:41:47 +0000 (15:41 +0200)]
Always return the replies sorted by time, oldest first.

13 years agoUse nice name where appropriate.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 13:36:51 +0000 (15:36 +0200)]
Use nice name where appropriate.

13 years agoAdd Sone accessor.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 13:36:06 +0000 (15:36 +0200)]
Add Sone accessor.

13 years agoAdd page that views a Sone.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 13:28:40 +0000 (15:28 +0200)]
Add page that views a Sone.

13 years agoAdd ID to posts <div>.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 13:28:30 +0000 (15:28 +0200)]
Add ID to posts <div>.

13 years agoFix link.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 13:28:21 +0000 (15:28 +0200)]
Fix link.

13 years agoAdd method to return a Sone by its ID.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 13:28:06 +0000 (15:28 +0200)]
Add method to return a Sone by its ID.

13 years agoThe used UUIDs are an implementation detail. Hide it.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 13:03:19 +0000 (15:03 +0200)]
The used UUIDs are an implementation detail. Hide it.

13 years agoAlways create Shells with IDs.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 12:59:59 +0000 (14:59 +0200)]
Always create Shells with IDs.

13 years agoChange link.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 12:52:59 +0000 (14:52 +0200)]
Change link.

13 years agoSmall display fixes, add link to other Sone.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 12:52:35 +0000 (14:52 +0200)]
Small display fixes, add link to other Sone.

13 years agoLoad replies and store everything in caches.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 12:48:12 +0000 (14:48 +0200)]
Load replies and store everything in caches.

13 years agoRewrite shell cache to create shells, if necessary.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 12:43:03 +0000 (14:43 +0200)]
Rewrite shell cache to create shells, if necessary.

13 years agoOnly allow unshelling a post if its Sone is not a shell.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 12:42:47 +0000 (14:42 +0200)]
Only allow unshelling a post if its Sone is not a shell.

13 years agoOnly allow unshelling a reply if both its post and its Sone are not shells.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 12:42:34 +0000 (14:42 +0200)]
Only allow unshelling a reply if both its post and its Sone are not shells.

13 years agoAdd some shell creators.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 12:42:13 +0000 (14:42 +0200)]
Add some shell creators.

13 years agoChange contract of Shell.getShelled().
David ‘Bombe’ Roden [Thu, 14 Oct 2010 12:42:01 +0000 (14:42 +0200)]
Change contract of Shell.getShelled().

13 years agoAdd shell creator interface.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 12:41:35 +0000 (14:41 +0200)]
Add shell creator interface.

13 years agoSave replies on stopping.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 12:03:43 +0000 (14:03 +0200)]
Save replies on stopping.

13 years agoUse a more generic Shell-aware cache.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 12:03:03 +0000 (14:03 +0200)]
Use a more generic Shell-aware cache.

13 years agoAdd Shell for Sone.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 11:58:50 +0000 (13:58 +0200)]
Add Shell for Sone.

13 years agoRemove obsolete User class.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 11:43:08 +0000 (13:43 +0200)]
Remove obsolete User class.

13 years agoAdd cache for Posts that is Shell-aware and throws Shells out if possible.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 11:40:18 +0000 (13:40 +0200)]
Add cache for Posts that is Shell-aware and throws Shells out if possible.

13 years agoWrap Post and Reply into a Shell.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 11:40:03 +0000 (13:40 +0200)]
Wrap Post and Reply into a Shell.

13 years agoAdd interface for not-yet-created objects.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 11:39:50 +0000 (13:39 +0200)]
Add interface for not-yet-created objects.

13 years agoUse all parameters for equality.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 10:35:43 +0000 (12:35 +0200)]
Use all parameters for equality.

13 years agoUse normal right-shift.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 10:34:45 +0000 (12:34 +0200)]
Use normal right-shift.

13 years agoUse all available parameters for post equality.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 10:32:38 +0000 (12:32 +0200)]
Use all available parameters for post equality.

13 years agoAdd a Sone’s replies.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 10:22:23 +0000 (12:22 +0200)]
Add a Sone’s replies.

13 years agoChange formatting.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 10:22:17 +0000 (12:22 +0200)]
Change formatting.

13 years agoAdd ID of Sone.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 10:22:09 +0000 (12:22 +0200)]
Add ID of Sone.

13 years agoStore all replies of a Sone in the Sone.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 10:21:08 +0000 (12:21 +0200)]
Store all replies of a Sone in the Sone.

13 years agoStore the Sone in the reply.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 10:21:01 +0000 (12:21 +0200)]
Store the Sone in the reply.

13 years agoReturn a Set because that’s what it is.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 10:17:02 +0000 (12:17 +0200)]
Return a Set because that’s what it is.

13 years agoStore replies in post.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 10:15:31 +0000 (12:15 +0200)]
Store replies in post.

13 years agoAdd container for replies.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 10:12:22 +0000 (12:12 +0200)]
Add container for replies.

13 years agoUse the hashCode() of the ID.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 10:11:52 +0000 (12:11 +0200)]
Use the hashCode() of the ID.

13 years agoAdd code comment.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 10:11:44 +0000 (12:11 +0200)]
Add code comment.

13 years agoIterate over correct posts list.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 09:48:29 +0000 (11:48 +0200)]
Iterate over correct posts list.

13 years agoName service.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 09:48:17 +0000 (11:48 +0200)]
Name service.

13 years agoChange restart and wait logic.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 09:22:50 +0000 (11:22 +0200)]
Change restart and wait logic.

13 years agoStore all posts in the Sone.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 09:20:35 +0000 (11:20 +0200)]
Store all posts in the Sone.

13 years agoLoad/save all posts of a Sone on starting/stopping.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 09:19:30 +0000 (11:19 +0200)]
Load/save all posts of a Sone on starting/stopping.

13 years agoAdd a GUID to Post.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 08:42:56 +0000 (10:42 +0200)]
Add a GUID to Post.

13 years agoMove post creation back to CreatePostPage.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 08:40:17 +0000 (10:40 +0200)]
Move post creation back to CreatePostPage.

13 years agoShow posts of Sone and friends on index page.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 08:34:20 +0000 (10:34 +0200)]
Show posts of Sone and friends on index page.

13 years agoCheck if post belongs to this Sone before trying to delete it.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 08:02:35 +0000 (10:02 +0200)]
Check if post belongs to this Sone before trying to delete it.

13 years agoStore the originating Sone in the post.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 08:02:21 +0000 (10:02 +0200)]
Store the originating Sone in the post.

13 years agoMove L10nFilter to own file, remove Sone template factory, use DefaultTemplateFactory.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 08:01:14 +0000 (10:01 +0200)]
Move L10nFilter to own file, remove Sone template factory, use DefaultTemplateFactory.

13 years agoAdd posting ability.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 07:33:09 +0000 (09:33 +0200)]
Add posting ability.

13 years agoPrevent resource leaks.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 07:29:32 +0000 (09:29 +0200)]
Prevent resource leaks.

13 years agoOnly show “create Sone” in menu when not logged in.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 07:22:56 +0000 (09:22 +0200)]
Only show “create Sone” in menu when not logged in.

13 years agoFix parameter name.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 07:22:44 +0000 (09:22 +0200)]
Fix parameter name.

13 years agoAdd posts to Sone.
David ‘Bombe’ Roden [Thu, 14 Oct 2010 07:04:18 +0000 (09:04 +0200)]
Add posts to Sone.