Sone.git
12 years agoAdd a core thread that periodically saves the configuration.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 21:39:00 +0000 (23:39 +0200)]
Add a core thread that periodically saves the configuration.

All functions that change the configuration of the core or of a local Sone
are now required to call Core.touchConfiguration() to let the core know
that it needs to save the configuration.

12 years agoShow number of posts and replies in Sone menu.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 20:40:43 +0000 (22:40 +0200)]
Show number of posts and replies in Sone menu.

12 years agoFilter mention notifications separately.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 12:30:42 +0000 (14:30 +0200)]
Filter mention notifications separately.

12 years agoFilter mention notification, too.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 08:33:40 +0000 (10:33 +0200)]
Filter mention notification, too.

12 years agoAllow to skip Sone-specific checks in notification filters.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 08:33:35 +0000 (10:33 +0200)]
Allow to skip Sone-specific checks in notification filters.

12 years agoRemove remnants of the old Rescue Mode.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 07:13:56 +0000 (09:13 +0200)]
Remove remnants of the old Rescue Mode.

12 years agoFire appropriate Sone insert events from core.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 07:04:11 +0000 (09:04 +0200)]
Fire appropriate Sone insert events from core.

12 years agoAdd Sone insert events to core listener manager.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 07:03:55 +0000 (09:03 +0200)]
Add Sone insert events to core listener manager.

12 years agoAdd Sone insert events to core listener.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 07:03:44 +0000 (09:03 +0200)]
Add Sone insert events to core listener.

12 years agoFire Sone insert events in Sone inserter.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 07:02:18 +0000 (09:02 +0200)]
Fire Sone insert events in Sone inserter.

12 years agoAdd Sone insert listener manager.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 07:02:01 +0000 (09:02 +0200)]
Add Sone insert listener manager.

12 years agoAdd Sone insert listener interface.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 07:01:54 +0000 (09:01 +0200)]
Add Sone insert listener interface.

12 years agoAdd “follow all Sones” and “unfollow all Sones” buttons.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 05:08:13 +0000 (07:08 +0200)]
Add “follow all Sones” and “unfollow all Sones” buttons.

12 years agoAllow following or unfollowing multiple Sones at once.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 05:05:56 +0000 (07:05 +0200)]
Allow following or unfollowing multiple Sones at once.

12 years agoImplement a better Sone Rescue Mode.
David ‘Bombe’ Roden [Fri, 1 Jul 2011 05:03:26 +0000 (07:03 +0200)]
Implement a better Sone Rescue Mode.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

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

12 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.

12 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.

12 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.

12 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.

12 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.

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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

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

12 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

12 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'

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

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

12 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.

12 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.

12 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.

12 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.

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

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

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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

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

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

12 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.

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

12 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.

12 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.

12 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.

12 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.

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

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

12 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.

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