Sone.git
13 years agoDon’t change lastUpdatedTime on filtered notifications.
David ‘Bombe’ Roden [Wed, 29 Jun 2011 07:43:35 +0000 (09:43 +0200)]
Don’t change lastUpdatedTime on filtered notifications.

13 years agoDon’t list replies to unknown posts.
David ‘Bombe’ Roden [Wed, 29 Jun 2011 07:26:59 +0000 (09:26 +0200)]
Don’t list replies to unknown posts.

13 years agoOnly use MessageFormatter if parameters are given.
David ‘Bombe’ Roden [Wed, 29 Jun 2011 07:18:07 +0000 (09:18 +0200)]
Only use MessageFormatter if parameters are given.

13 years agoOnly show follow/unfollow links for non-local Sones.
David ‘Bombe’ Roden [Wed, 29 Jun 2011 07:13:41 +0000 (09:13 +0200)]
Only show follow/unfollow links for non-local Sones.

13 years agoAdd sorting Sones by posts.
David ‘Bombe’ Roden [Wed, 29 Jun 2011 07:13:11 +0000 (09:13 +0200)]
Add sorting Sones by posts.

13 years agoAdd comparator that sorts Sones by number of posts.
David ‘Bombe’ Roden [Wed, 29 Jun 2011 07:12:24 +0000 (09:12 +0200)]
Add comparator that sorts Sones by number of posts.

13 years agoTry to use the L10n’s locale.
David ‘Bombe’ Roden [Wed, 29 Jun 2011 07:11:53 +0000 (09:11 +0200)]
Try to use the L10n’s locale.

13 years agoInclude number of posts and replies in Sone view.
David ‘Bombe’ Roden [Wed, 29 Jun 2011 05:24:05 +0000 (07:24 +0200)]
Include number of posts and replies in Sone view.

13 years agoAllow using a message formatter after getting the L10n string from Freenet.
David ‘Bombe’ Roden [Wed, 29 Jun 2011 05:23:46 +0000 (07:23 +0200)]
Allow using a message formatter after getting the L10n string from Freenet.

13 years agoAccept all replies, they will be filtered later in the notifications.
David ‘Bombe’ Roden [Tue, 28 Jun 2011 20:29:51 +0000 (22:29 +0200)]
Accept all replies, they will be filtered later in the notifications.

13 years agoAdd context menues when hovering over avatar images.
David ‘Bombe’ Roden [Wed, 22 Jun 2011 19:36:38 +0000 (21:36 +0200)]
Add context menues when hovering over avatar images.

This fixes #191.

13 years agoAdd context menu to reply avatars.
David ‘Bombe’ Roden [Wed, 22 Jun 2011 19:32:21 +0000 (21:32 +0200)]
Add context menu to reply avatars.

13 years agoBroaden CSS rules.
David ‘Bombe’ Roden [Wed, 22 Jun 2011 19:00:12 +0000 (21:00 +0200)]
Broaden CSS rules.

13 years agoChange all context menues for a Sone after following/unfollowing.
David ‘Bombe’ Roden [Wed, 22 Jun 2011 18:56:53 +0000 (20:56 +0200)]
Change all context menues for a Sone after following/unfollowing.

13 years agoStore Sone ID in a variable.
David ‘Bombe’ Roden [Wed, 22 Jun 2011 18:56:38 +0000 (20:56 +0200)]
Store Sone ID in a variable.

13 years agoAdd function to find the Sone ID of a Sone context menu.
David ‘Bombe’ Roden [Wed, 22 Jun 2011 18:56:21 +0000 (20:56 +0200)]
Add function to find the Sone ID of a Sone context menu.

13 years agoImplement following/unfollowing from context menu.
David ‘Bombe’ Roden [Wed, 22 Jun 2011 18:47:19 +0000 (20:47 +0200)]
Implement following/unfollowing from context menu.

13 years agoChange text for web of trust link in profile.
David ‘Bombe’ Roden [Wed, 22 Jun 2011 18:46:59 +0000 (20:46 +0200)]
Change text for web of trust link in profile.

13 years agoFix option text.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 10:43:38 +0000 (12:43 +0200)]
Fix option text.

13 years agoFix default text for characters-per-post input field.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 10:38:48 +0000 (12:38 +0200)]
Fix default text for characters-per-post input field.

13 years agoPrevent NPE when no length is given.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 10:25:42 +0000 (12:25 +0200)]
Prevent NPE when no length is given.

13 years agoUse option value for cutting off posts.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 10:22:08 +0000 (12:22 +0200)]
Use option value for cutting off posts.

13 years agoAdd characters-per-post option to options page.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 10:21:58 +0000 (12:21 +0200)]
Add characters-per-post option to options page.

13 years agoStore the core in all template contexts.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 10:21:41 +0000 (12:21 +0200)]
Store the core in all template contexts.

13 years agoAdd option for characters per post.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 10:21:17 +0000 (12:21 +0200)]
Add option for characters per post.

13 years agoIf length can not be parsed, try again as property from the context.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 10:18:20 +0000 (12:18 +0200)]
If length can not be parsed, try again as property from the context.

13 years agoUse a more recent utils version.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 10:11:59 +0000 (12:11 +0200)]
Use a more recent utils version.

13 years agoAdd ellipsis when cutting off a text.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 09:01:14 +0000 (11:01 +0200)]
Add ellipsis when cutting off a text.

13 years agoAdd separate “show more” and “show less” links.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 08:13:57 +0000 (10:13 +0200)]
Add separate “show more” and “show less” links.

This fixes #64.

13 years agoFix whitespace.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 08:13:36 +0000 (10:13 +0200)]
Fix whitespace.

13 years agoAllow expansion by linking to post for non-javascript users.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 07:41:34 +0000 (09:41 +0200)]
Allow expansion by linking to post for non-javascript users.

13 years agoCut off text after 200 characters.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 07:34:21 +0000 (09:34 +0200)]
Cut off text after 200 characters.

13 years agoAdd length parameter to text parser.
David ‘Bombe’ Roden [Tue, 21 Jun 2011 07:11:49 +0000 (09:11 +0200)]
Add length parameter to text parser.

13 years agoReload page on changes in sort options.
David ‘Bombe’ Roden [Mon, 20 Jun 2011 08:55:01 +0000 (10:55 +0200)]
Reload page on changes in sort options.

13 years agoOrder by name as default, store sort options in template differently.
David ‘Bombe’ Roden [Mon, 20 Jun 2011 08:54:40 +0000 (10:54 +0200)]
Order by name as default, store sort options in template differently.

13 years agoAllow sorting and filtering of “known Sones.”
David ‘Bombe’ Roden [Mon, 20 Jun 2011 05:56:36 +0000 (07:56 +0200)]
Allow sorting and filtering of “known Sones.”

This fixes #18.

13 years agoAdd filter and sort options to “known Sones” page.
David ‘Bombe’ Roden [Mon, 20 Jun 2011 05:53:02 +0000 (07:53 +0200)]
Add filter and sort options to “known Sones” page.

13 years agoAdd last activity comparator.
David ‘Bombe’ Roden [Mon, 20 Jun 2011 05:52:43 +0000 (07:52 +0200)]
Add last activity comparator.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Sun, 19 Jun 2011 14:41:00 +0000 (16:41 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'release-0.6.5' 0.6.5
David ‘Bombe’ Roden [Sun, 19 Jun 2011 14:27:08 +0000 (16:27 +0200)]
Merge branch 'release-0.6.5'

13 years agoSet version number to 0.6.5.
David ‘Bombe’ Roden [Sun, 19 Jun 2011 14:27:01 +0000 (16:27 +0200)]
Set version number to 0.6.5.

13 years agoRequire utils 0.9.6.
David ‘Bombe’ Roden [Sun, 19 Jun 2011 14:26:45 +0000 (16:26 +0200)]
Require utils 0.9.6.

13 years agoAdd Sone context menu when hovering over avatar.
David ‘Bombe’ Roden [Sun, 19 Jun 2011 11:09:43 +0000 (13:09 +0200)]
Add Sone context menu when hovering over avatar.

13 years agoMake it possible to use post as containing block for all “position: absolute” blocks...
David ‘Bombe’ Roden [Sun, 19 Jun 2011 11:08:28 +0000 (13:08 +0200)]
Make it possible to use post as containing block for all “position: absolute” blocks beneath it.

13 years agoForce word-wrap in texts by breaking in words.
David ‘Bombe’ Roden [Sun, 19 Jun 2011 10:12:38 +0000 (12:12 +0200)]
Force word-wrap in texts by breaking in words.

Thanks, SeekingForAttention, for the suggestion.

13 years agoDuplicate the notification templates to prevent clobbering the elements.
David ‘Bombe’ Roden [Sun, 19 Jun 2011 10:12:14 +0000 (12:12 +0200)]
Duplicate the notification templates to prevent clobbering the elements.

13 years agoSplit up element marking into blocks of 16 elements.
David ‘Bombe’ Roden [Sat, 18 Jun 2011 15:06:31 +0000 (17:06 +0200)]
Split up element marking into blocks of 16 elements.

This should make it work with several thousand elements at once.

13 years agoReturn new local elements with new remote elements.
David ‘Bombe’ Roden [Sat, 18 Jun 2011 14:24:41 +0000 (16:24 +0200)]
Return new local elements with new remote elements.

13 years agoMark local elements as known from the core, not from the client.
David ‘Bombe’ Roden [Sat, 18 Jun 2011 14:24:20 +0000 (16:24 +0200)]
Mark local elements as known from the core, not from the client.

13 years agoUse different notifications for local elements.
David ‘Bombe’ Roden [Sat, 18 Jun 2011 14:23:35 +0000 (16:23 +0200)]
Use different notifications for local elements.

13 years agoUse provider interfaces for the parser; enhance test case.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 10:33:49 +0000 (12:33 +0200)]
Use provider interfaces for the parser; enhance test case.

This fixes #124.

13 years agoAdd code comment.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 10:31:29 +0000 (12:31 +0200)]
Add code comment.

13 years agoAdd test for KSK links.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 10:31:23 +0000 (12:31 +0200)]
Add test for KSK links.

13 years agoInclude the link titles in the generated text.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 10:16:47 +0000 (12:16 +0200)]
Include the link titles in the generated text.

13 years agoOnly add a new plain-text part if there is any text in front of the link.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 10:15:33 +0000 (12:15 +0200)]
Only add a new plain-text part if there is any text in front of the link.

13 years agoMove text extracting and part class validation to its own method.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 10:12:11 +0000 (12:12 +0200)]
Move text extracting and part class validation to its own method.

13 years agoRemove logger.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 08:40:28 +0000 (10:40 +0200)]
Remove logger.

13 years agoAdd missing annotation.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 08:40:24 +0000 (10:40 +0200)]
Add missing annotation.

13 years agoAdd javadoc.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 08:39:31 +0000 (10:39 +0200)]
Add javadoc.

13 years agoFirst basic test case for SoneTextParser.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 08:37:34 +0000 (10:37 +0200)]
First basic test case for SoneTextParser.

13 years agoUse provider interfaces instead of core.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 08:37:14 +0000 (10:37 +0200)]
Use provider interfaces instead of core.

This will allow creating a test case without creating a core.

13 years agoImplement the Sone and post provider interfaces.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 08:36:07 +0000 (10:36 +0200)]
Implement the Sone and post provider interfaces.

13 years agoAdd interfaces for Sone and post providers.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 08:35:51 +0000 (10:35 +0200)]
Add interfaces for Sone and post providers.

13 years agoShow posts mentioning a local Sone by a new notification.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 14:00:32 +0000 (16:00 +0200)]
Show posts mentioning a local Sone by a new notification.

This fixes #188.

13 years agoDon’t mark own posts and replies as new.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 13:47:28 +0000 (15:47 +0200)]
Don’t mark own posts and replies as new.

This fixes #141.

13 years agoAdd mention notification to notification manager.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 13:49:57 +0000 (15:49 +0200)]
Add mention notification to notification manager.

13 years agoCheck and remove “new” class from correct element.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 13:43:41 +0000 (15:43 +0200)]
Check and remove “new” class from correct element.

13 years agoMark new local posts and replies as new after five seconds.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 13:36:26 +0000 (15:36 +0200)]
Mark new local posts and replies as new after five seconds.

13 years agoUse skipRequest = false to force a request.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 13:36:15 +0000 (15:36 +0200)]
Use skipRequest = false to force a request.

13 years agoAutomatically un-new posts and replies from local Sones.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 13:24:31 +0000 (15:24 +0200)]
Automatically un-new posts and replies from local Sones.

13 years agoAdd flags for whether the author of a post or reply is a local Sone.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 13:24:19 +0000 (15:24 +0200)]
Add flags for whether the author of a post or reply is a local Sone.

13 years agoAdd “you have been mentioned” notification.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 11:23:36 +0000 (13:23 +0200)]
Add “you have been mentioned” notification.

13 years agoAdd filter for local Sones.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 11:23:07 +0000 (13:23 +0200)]
Add filter for local Sones.

13 years agoRemove System.out debugging.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 10:55:45 +0000 (12:55 +0200)]
Remove System.out debugging.

13 years agoAllow null contexts.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 10:53:08 +0000 (12:53 +0200)]
Allow null contexts.

13 years agoUse Sone text parser from web interface in parser filter.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 10:46:59 +0000 (12:46 +0200)]
Use Sone text parser from web interface in parser filter.

13 years agoAdd javadoc comments.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 10:36:18 +0000 (12:36 +0200)]
Add javadoc comments.

13 years agoRemove exceptions from method signatures.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 10:36:08 +0000 (12:36 +0200)]
Remove exceptions from method signatures.

13 years agoAdd javadoc comments, remove obsolete imports.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 10:26:49 +0000 (12:26 +0200)]
Add javadoc comments, remove obsolete imports.

13 years agoChange javadoc to match new function.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 10:08:56 +0000 (12:08 +0200)]
Change javadoc to match new function.

13 years agoChange documentation to match new signature.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 10:08:03 +0000 (12:08 +0200)]
Change documentation to match new signature.

13 years agoImplement Part, too.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 10:07:47 +0000 (12:07 +0200)]
Implement Part, too.

13 years agoRemove obsolete imports.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 10:07:39 +0000 (12:07 +0200)]
Remove obsolete imports.

13 years agoDon’t throw away the last part if it’s not a plain-text part.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 09:45:32 +0000 (11:45 +0200)]
Don’t throw away the last part if it’s not a plain-text part.

13 years agoRender more parts.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 09:24:04 +0000 (11:24 +0200)]
Render more parts.

13 years agoRewriter Sone text parser to separate the parser from the generated HTML.
David ‘Bombe’ Roden [Wed, 8 Jun 2011 09:12:59 +0000 (11:12 +0200)]
Rewriter Sone text parser to separate the parser from the generated HTML.

13 years agoStore posts and replies in descending-time order to ease plain-text reading.
David ‘Bombe’ Roden [Tue, 7 Jun 2011 12:59:34 +0000 (14:59 +0200)]
Store posts and replies in descending-time order to ease plain-text reading.

13 years agoRemove replies to unknown posts from status.
David ‘Bombe’ Roden [Tue, 7 Jun 2011 12:42:18 +0000 (14:42 +0200)]
Remove replies to unknown posts from status.

13 years agoOnly insert posts on the first page of the “view Sone” page.
David ‘Bombe’ Roden [Mon, 6 Jun 2011 04:11:20 +0000 (06:11 +0200)]
Only insert posts on the first page of the “view Sone” page.

13 years agoAssign names to paginations on the “view Sone” page.
David ‘Bombe’ Roden [Mon, 6 Jun 2011 04:11:01 +0000 (06:11 +0200)]
Assign names to paginations on the “view Sone” page.

13 years agoOnly add @Sone to reply text field if not replying to yourself.
David ‘Bombe’ Roden [Tue, 7 Jun 2011 11:59:54 +0000 (13:59 +0200)]
Only add @Sone to reply text field if not replying to yourself.

13 years agoImprove parsing of sone:// and post:// links.
David ‘Bombe’ Roden [Sat, 4 Jun 2011 19:56:08 +0000 (21:56 +0200)]
Improve parsing of sone:// and post:// links.

This fixes #201.

13 years agoImprove offline marker behaviour.
David ‘Bombe’ Roden [Sat, 4 Jun 2011 19:25:10 +0000 (21:25 +0200)]
Improve offline marker behaviour.

This fixes #199.

13 years agoMerge commit 'sone-removal-notification-200' into next
David ‘Bombe’ Roden [Tue, 31 May 2011 19:12:23 +0000 (21:12 +0200)]
Merge commit 'sone-removal-notification-200' into next

This fixes #200.

13 years agoNotify listeners when a Sone is removed.
David ‘Bombe’ Roden [Tue, 31 May 2011 19:10:57 +0000 (21:10 +0200)]
Notify listeners when a Sone is removed.

13 years agoAdd delegate method for Sone removal notification.
David ‘Bombe’ Roden [Tue, 31 May 2011 19:10:44 +0000 (21:10 +0200)]
Add delegate method for Sone removal notification.

13 years agoAdd Sone removal notification to core listener interface.
David ‘Bombe’ Roden [Tue, 31 May 2011 19:10:29 +0000 (21:10 +0200)]
Add Sone removal notification to core listener interface.

13 years agoAlways remove “new” marker from “click-to-show” bar.
David ‘Bombe’ Roden [Thu, 26 May 2011 05:07:10 +0000 (07:07 +0200)]
Always remove “new” marker from “click-to-show” bar.

13 years agoSmall optimization.
David ‘Bombe’ Roden [Thu, 26 May 2011 05:06:57 +0000 (07:06 +0200)]
Small optimization.

13 years agoSave all local Sones when stopping Sone.
David ‘Bombe’ Roden [Thu, 26 May 2011 04:57:43 +0000 (06:57 +0200)]
Save all local Sones when stopping Sone.