Sone.git
13 years agoUnify field name generation.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 15:24:49 +0000 (17:24 +0200)]
Unify field name generation.

13 years agoReduce visibility of all encoding methods to protected.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 15:19:00 +0000 (17:19 +0200)]
Reduce visibility of all encoding methods to protected.

13 years agoGet “includeReplies” parameter from simple field set.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 15:18:28 +0000 (17:18 +0200)]
Get “includeReplies” parameter from simple field set.

13 years agoAdd method to retrieve a boolean from the simple field set.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 15:17:50 +0000 (17:17 +0200)]
Add method to retrieve a boolean from the simple field set.

13 years agoAdd “GetPost” FCP command.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 15:13:53 +0000 (17:13 +0200)]
Add “GetPost” FCP command.

13 years agoAdd prefixes to all encoding methods, add method to encode a single Post.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 15:13:43 +0000 (17:13 +0200)]
Add prefixes to all encoding methods, add method to encode a single Post.

13 years agoAdd method to return a Post from the simple field set.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 14:54:26 +0000 (16:54 +0200)]
Add method to return a Post from the simple field set.

13 years agoSend back identifier, if available.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 14:51:36 +0000 (16:51 +0200)]
Send back identifier, if available.

13 years agoSend errors back to the plugin.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 14:51:10 +0000 (16:51 +0200)]
Send errors back to the plugin.

13 years agoAdd error response.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 14:50:56 +0000 (16:50 +0200)]
Add error response.

13 years agoAdd “GetPosts” FCP command.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 14:20:36 +0000 (16:20 +0200)]
Add “GetPosts” FCP command.

13 years agoAdd parameter to include replies in encodePosts().
David ‘Bombe’ Roden [Fri, 8 Apr 2011 14:08:01 +0000 (16:08 +0200)]
Add parameter to include replies in encodePosts().

13 years agoAdd method to encode a collection of replies.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 14:04:43 +0000 (16:04 +0200)]
Add method to encode a collection of replies.

13 years agoRename Command.Reply to Command.Response.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 14:03:03 +0000 (16:03 +0200)]
Rename Command.Reply to Command.Response.

13 years agoAdd method to copy a SimpleFieldSet into this builder.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 13:59:10 +0000 (15:59 +0200)]
Add method to copy a SimpleFieldSet into this builder.

13 years agoAdd “GetLocalSones” FCP command.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 13:55:58 +0000 (15:55 +0200)]
Add “GetLocalSones” FCP command.

13 years agoAdd method to encode a collection of Sones into a simple field set.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 13:55:25 +0000 (15:55 +0200)]
Add method to encode a collection of Sones into a simple field set.

13 years agoOrganize imports.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 13:48:51 +0000 (15:48 +0200)]
Organize imports.

13 years agoAdd “GetPostFeed” FCP command.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 13:48:04 +0000 (15:48 +0200)]
Add “GetPostFeed” FCP command.

13 years agoAdd abstract FCP command with Sone-specific helper methods.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 13:47:54 +0000 (15:47 +0200)]
Add abstract FCP command with Sone-specific helper methods.

13 years agoAdd method to set a long value.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 13:45:12 +0000 (15:45 +0200)]
Add method to set a long value.

13 years agoAdd method to return an int with a default value.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 13:36:11 +0000 (15:36 +0200)]
Add method to return an int with a default value.

13 years agoMove Sone-related FCP classes to different package.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 13:20:08 +0000 (15:20 +0200)]
Move Sone-related FCP classes to different package.

13 years agoAdd method to return an int from the parameters.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 13:19:33 +0000 (15:19 +0200)]
Add method to return an int from the parameters.

13 years agoRemove “core” field.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 13:10:45 +0000 (15:10 +0200)]
Remove “core” field.

13 years agoAdd abstract basic Command implementation with helper methods.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 12:56:26 +0000 (14:56 +0200)]
Add abstract basic Command implementation with helper methods.

13 years agoAdd FCP interface to plugin, let it handle all FCP requests.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 12:56:03 +0000 (14:56 +0200)]
Add FCP interface to plugin, let it handle all FCP requests.

13 years agoAllow a command to throw an exception.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 12:51:48 +0000 (14:51 +0200)]
Allow a command to throw an exception.

13 years agoAdd FCP exception.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 12:51:11 +0000 (14:51 +0200)]
Add FCP exception.

13 years agoAdd command that will return the current version of the Sone plugin.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 12:41:57 +0000 (14:41 +0200)]
Add command that will return the current version of the Sone plugin.

13 years agoAdd SimpleFieldSet builder.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 12:39:47 +0000 (14:39 +0200)]
Add SimpleFieldSet builder.

13 years agoAdd FCP command interface.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 12:32:04 +0000 (14:32 +0200)]
Add FCP command interface.

13 years agoAdd javadoc.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 12:26:02 +0000 (14:26 +0200)]
Add javadoc.

13 years agoFix license text.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 12:25:56 +0000 (14:25 +0200)]
Fix license text.

13 years agoMove FCP interface to fcp subpackage.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 12:23:43 +0000 (14:23 +0200)]
Move FCP interface to fcp subpackage.

13 years agoAdd FCP interface stub.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 09:21:02 +0000 (11:21 +0200)]
Add FCP interface stub.

13 years agoAdd sone:// and post:// links.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 05:28:24 +0000 (07:28 +0200)]
Add sone:// and post:// links.

13 years agoMark deleted posts and replies as known.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 05:11:32 +0000 (07:11 +0200)]
Mark deleted posts and replies as known.

13 years agoAlso show posts and replies that have the current Sone as post recipient.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 04:49:17 +0000 (06:49 +0200)]
Also show posts and replies that have the current Sone as post recipient.

13 years agoAdjust displayed times.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 04:29:54 +0000 (06:29 +0200)]
Adjust displayed times.

13 years agoShow default texts in the trust-related settings on the options page.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 04:15:47 +0000 (06:15 +0200)]
Show default texts in the trust-related settings on the options page.

13 years agoAllow user to configuration the number of posts shown on a page.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 04:11:19 +0000 (06:11 +0200)]
Allow user to configuration the number of posts shown on a page.

This resolves #123.

13 years agoAdd javadoc comments.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 03:45:13 +0000 (05:45 +0200)]
Add javadoc comments.

13 years agoCreate new-element notifications as non-dismissable.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:39:07 +0000 (21:39 +0200)]
Create new-element notifications as non-dismissable.

13 years agoCopy all values in the copy constructor.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:38:56 +0000 (21:38 +0200)]
Copy all values in the copy constructor.

13 years agoAdd constructor to allow to specify the dismissable flag.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:38:44 +0000 (21:38 +0200)]
Add constructor to allow to specify the dismissable flag.

13 years agoDon’t mark elements as known automatically when viewing a page.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:18:47 +0000 (21:18 +0200)]
Don’t mark elements as known automatically when viewing a page.

This resolves #32.

13 years agoDisplay new-reply notification differently.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:06:37 +0000 (21:06 +0200)]
Display new-reply notification differently.

This fixes #35.

13 years agoAdd filter to sort replies differently.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:06:00 +0000 (21:06 +0200)]
Add filter to sort replies differently.

13 years agoAlso update times on invisible replies.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 13:57:10 +0000 (15:57 +0200)]
Also update times on invisible replies.

13 years agoReset activation after all notifications have been removed.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 13:57:03 +0000 (15:57 +0200)]
Reset activation after all notifications have been removed.

13 years agoFilter posts and replies from the future.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 11:39:02 +0000 (13:39 +0200)]
Filter posts and replies from the future.

This fixes #122.

13 years agoHide error message when deleting already deleted post, just hide post.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:55:06 +0000 (11:55 +0200)]
Hide error message when deleting already deleted post, just hide post.

13 years agoReset blinking tab icon when no notifications are visible.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:51:57 +0000 (11:51 +0200)]
Reset blinking tab icon when no notifications are visible.

13 years agoMark own posts as new to allow retrieval and insertion on all open tabs.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:51:44 +0000 (11:51 +0200)]
Mark own posts as new to allow retrieval and insertion on all open tabs.

13 years agoMerge branch 'mark-elements-as-known' into next
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:27:58 +0000 (11:27 +0200)]
Merge branch 'mark-elements-as-known' into next

This fixes #119.

13 years agoMark elements as known when a notification is removed.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:26:24 +0000 (11:26 +0200)]
Mark elements as known when a notification is removed.

13 years agoCheck replaced notifications for changes.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:26:06 +0000 (11:26 +0200)]
Check replaced notifications for changes.

13 years agoAdd methods that compare notifications and mark elements as known.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:25:57 +0000 (11:25 +0200)]
Add methods that compare notifications and mark elements as known.

13 years agoUse convenience method to get the notification for the ID.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:25:33 +0000 (11:25 +0200)]
Use convenience method to get the notification for the ID.

13 years agoAdd “skipRequest” parameter to all mark*AsKnown() methods.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:25:10 +0000 (11:25 +0200)]
Add “skipRequest” parameter to all mark*AsKnown() methods.

13 years agoAdd method to access notification elements.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:13:53 +0000 (11:13 +0200)]
Add method to access notification elements.

13 years agoAdd method to retrieve a Sone element by its ID.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:13:41 +0000 (11:13 +0200)]
Add method to retrieve a Sone element by its ID.

13 years agoAdd element IDs to new-element notifications.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:13:28 +0000 (11:13 +0200)]
Add element IDs to new-element notifications.

13 years agoMark all elements as known in the processing method, not after rendering.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:13:12 +0000 (11:13 +0200)]
Mark all elements as known in the processing method, not after rendering.

This allows to react to changes in the notification with JavaScript, in
order to mark elements on the page as known without having the currently
reloading page clear everything in all tabs.

13 years agoAdd relative and dynamic timestamps to the web interface.
David ‘Bombe’ Roden [Wed, 6 Apr 2011 05:28:51 +0000 (07:28 +0200)]
Add relative and dynamic timestamps to the web interface.

This fixes #2.

13 years agoAdd getReply() function that works the same as getPost().
David ‘Bombe’ Roden [Wed, 6 Apr 2011 04:37:35 +0000 (06:37 +0200)]
Add getReply() function that works the same as getPost().

13 years agoRemove obsolete getReply() function.
David ‘Bombe’ Roden [Wed, 6 Apr 2011 04:37:17 +0000 (06:37 +0200)]
Remove obsolete getReply() function.

13 years agoFix javadoc.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 14:06:44 +0000 (16:06 +0200)]
Fix javadoc.

13 years agoImplement auto-following of new Sones.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 13:47:01 +0000 (15:47 +0200)]
Implement auto-following of new Sones.

This fixes #88.

13 years agoAdd options to Sone.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 13:44:28 +0000 (15:44 +0200)]
Add options to Sone.

13 years agoRemove debug output.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 11:50:34 +0000 (13:50 +0200)]
Remove debug output.

13 years agoImprove wording on Sone creation.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 11:49:17 +0000 (13:49 +0200)]
Improve wording on Sone creation.

This fixes #89.

13 years agoAdd large try-catch block around SoneInserter’s run() method.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 09:22:40 +0000 (11:22 +0200)]
Add large try-catch block around SoneInserter’s run() method.

13 years agoRemove notification if no posts and replies remain.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 09:04:10 +0000 (11:04 +0200)]
Remove notification if no posts and replies remain.

13 years agoRefactor; when not logged in, don’t show new-post or new-reply notifications at all.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 08:59:57 +0000 (10:59 +0200)]
Refactor; when not logged in, don’t show new-post or new-reply notifications at all.

13 years agoRemove unnecessary imports.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 08:34:22 +0000 (10:34 +0200)]
Remove unnecessary imports.

13 years agoChange the way notifications are handled.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 08:05:15 +0000 (10:05 +0200)]
Change the way notifications are handled.

The notification manager only keeps a list of current notifications.
Removed and changed notifications are now detected by the web interface
itself. Also, the notifications are filtered to show only posts and replies
that the logged in Sone is interested in.

13 years agoAdd filter for a list of notifications.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 08:02:56 +0000 (10:02 +0200)]
Add filter for a list of notifications.

13 years agoAdd method to set elements to show.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 07:57:26 +0000 (09:57 +0200)]
Add method to set elements to show.

13 years agoAdd copy constructor.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 07:57:19 +0000 (09:57 +0200)]
Add copy constructor.

13 years agoAdd method to get all posts that have a certain Sone as recipient.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 07:49:59 +0000 (09:49 +0200)]
Add method to get all posts that have a certain Sone as recipient.

13 years agol10nize about page, add link to homepage.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 04:59:59 +0000 (06:59 +0200)]
l10nize about page, add link to homepage.

13 years agoAdd posts that are directed at a Sone to “view Sone” page.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 04:27:51 +0000 (06:27 +0200)]
Add posts that are directed at a Sone to “view Sone” page.

13 years agoIt’s 2011.
David ‘Bombe’ Roden [Mon, 4 Apr 2011 16:42:52 +0000 (18:42 +0200)]
It’s 2011.

13 years agoReduce default negative trust to -25.
David ‘Bombe’ Roden [Sun, 3 Apr 2011 19:29:51 +0000 (21:29 +0200)]
Reduce default negative trust to -25.

13 years agoFix search term input field jumping around on Firefox.
David ‘Bombe’ Roden [Sun, 3 Apr 2011 11:36:06 +0000 (13:36 +0200)]
Fix search term input field jumping around on Firefox.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Sat, 2 Apr 2011 22:18:02 +0000 (00:18 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'release-0.6' 0.6
David ‘Bombe’ Roden [Sat, 2 Apr 2011 22:14:03 +0000 (00:14 +0200)]
Merge branch 'release-0.6'

13 years agoSet version to 0.6.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 21:38:23 +0000 (23:38 +0200)]
Set version to 0.6.

13 years agoRequire utils-0.9.2.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 21:37:45 +0000 (23:37 +0200)]
Require utils-0.9.2.

13 years agoWhen adding a field, the field name is not optional.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 22:13:11 +0000 (00:13 +0200)]
When adding a field, the field name is not optional.

13 years agoEnable text field on empty input, request focus.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 22:12:57 +0000 (00:12 +0200)]
Enable text field on empty input, request focus.

13 years agoSend out <link> header exposing the OpenSearchDescription document.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 14:57:11 +0000 (16:57 +0200)]
Send out <link> header exposing the OpenSearchDescription document.

13 years agoAdd HTTPRequest accessor to web interface.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 14:56:48 +0000 (16:56 +0200)]
Add HTTPRequest accessor to web interface.

13 years agoAllow FreenetTemplatePages to set arbitrary <link> nodes in the result HTML.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 14:56:13 +0000 (16:56 +0200)]
Allow FreenetTemplatePages to set arbitrary <link> nodes in the result HTML.

13 years agoAdd accessor for HTTPRequest objects.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 14:55:51 +0000 (16:55 +0200)]
Add accessor for HTTPRequest objects.

13 years agoAdd page that renders a template but is not a Freenet page.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 14:55:01 +0000 (16:55 +0200)]
Add page that renders a template but is not a Freenet page.

13 years agoRename TemplatePage to FreenetTemplatePage, which fits a lot better.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 14:51:52 +0000 (16:51 +0200)]
Rename TemplatePage to FreenetTemplatePage, which fits a lot better.

13 years agoInclude image dimensions for flattr badge.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 13:42:54 +0000 (15:42 +0200)]
Include image dimensions for flattr badge.