Sone.git
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 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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 years agoAdd missing imports.
David ‘Bombe’ Roden [Thu, 26 May 2011 04:30:00 +0000 (06:30 +0200)]
Add missing imports.

12 years agoRequest URI once before rescueing to (maybe) find the latest edition.
David ‘Bombe’ Roden [Wed, 25 May 2011 17:47:34 +0000 (19:47 +0200)]
Request URI once before rescueing to (maybe) find the latest edition.

12 years agoTouch the notification after its elements have been set.
David ‘Bombe’ Roden [Wed, 25 May 2011 17:46:43 +0000 (19:46 +0200)]
Touch the notification after its elements have been set.

12 years agoAdd web interface to all template contexts more reliably.
David ‘Bombe’ Roden [Wed, 25 May 2011 17:46:11 +0000 (19:46 +0200)]
Add web interface to all template contexts more reliably.

12 years agoUse better notification ID.
David ‘Bombe’ Roden [Wed, 25 May 2011 17:39:52 +0000 (19:39 +0200)]
Use better notification ID.

12 years agoUse correct notification ID.
David ‘Bombe’ Roden [Wed, 25 May 2011 17:37:43 +0000 (19:37 +0200)]
Use correct notification ID.

12 years agoUse method from JsonPage.
David ‘Bombe’ Roden [Wed, 25 May 2011 17:29:54 +0000 (19:29 +0200)]
Use method from JsonPage.

12 years agoRemove useless line.
David ‘Bombe’ Roden [Wed, 25 May 2011 17:29:45 +0000 (19:29 +0200)]
Remove useless line.

12 years agoSave local Sone after auto-following.
David ‘Bombe’ Roden [Tue, 24 May 2011 03:51:10 +0000 (05:51 +0200)]
Save local Sone after auto-following.

12 years agoDon’t wrap notifications into an ArrayList.
David ‘Bombe’ Roden [Tue, 24 May 2011 03:50:57 +0000 (05:50 +0200)]
Don’t wrap notifications into an ArrayList.

12 years agoAdd missing word.
David ‘Bombe’ Roden [Wed, 11 May 2011 05:14:12 +0000 (07:14 +0200)]
Add missing word.

12 years agoLog warning when a command can not be processed.
David ‘Bombe’ Roden [Wed, 11 May 2011 05:13:53 +0000 (07:13 +0200)]
Log warning when a command can not be processed.

12 years agoAdd “GetSone” FCP command.
David ‘Bombe’ Roden [Wed, 11 May 2011 05:13:35 +0000 (07:13 +0200)]
Add “GetSone” FCP command.

12 years agoAdd method to encode profile information of a Sone.
David ‘Bombe’ Roden [Wed, 11 May 2011 05:13:04 +0000 (07:13 +0200)]
Add method to encode profile information of a Sone.

12 years agoMake it possible to load an optional Sone from the parameters.
David ‘Bombe’ Roden [Wed, 11 May 2011 05:12:37 +0000 (07:12 +0200)]
Make it possible to load an optional Sone from the parameters.

12 years agoOverride Object.toString().
David ‘Bombe’ Roden [Wed, 11 May 2011 05:11:54 +0000 (07:11 +0200)]
Override Object.toString().

12 years agoAdd simple string encoding.
David ‘Bombe’ Roden [Wed, 11 May 2011 05:11:48 +0000 (07:11 +0200)]
Add simple string encoding.

SimpleFieldSet can not handle LF characters.

12 years agoMerge branch 'fcp-interface' into next
David ‘Bombe’ Roden [Wed, 11 May 2011 04:12:43 +0000 (06:12 +0200)]
Merge branch 'fcp-interface' into next

This fixes #21.

12 years agoChange FCP access rules to a tri-state.
David ‘Bombe’ Roden [Wed, 11 May 2011 04:09:50 +0000 (06:09 +0200)]
Change FCP access rules to a tri-state.

12 years agoMerge branch 'option-validation-196' into next
David ‘Bombe’ Roden [Tue, 10 May 2011 05:02:43 +0000 (07:02 +0200)]
Merge branch 'option-validation-196' into next

This fixes #196.

12 years agoAdd warnings to options page if an option value was not validated.
David ‘Bombe’ Roden [Tue, 10 May 2011 04:59:41 +0000 (06:59 +0200)]
Add warnings to options page if an option value was not validated.

12 years agoAdd contains filter to template contexts.
David ‘Bombe’ Roden [Tue, 10 May 2011 04:59:07 +0000 (06:59 +0200)]
Add contains filter to template contexts.

12 years agoAdd validators to options, validate options on loading.
David ‘Bombe’ Roden [Tue, 10 May 2011 04:58:43 +0000 (06:58 +0200)]
Add validators to options, validate options on loading.

12 years agoAdd validation methods to preferences.
David ‘Bombe’ Roden [Tue, 10 May 2011 04:58:13 +0000 (06:58 +0200)]
Add validation methods to preferences.

12 years agoAdd option validation.
David ‘Bombe’ Roden [Tue, 10 May 2011 04:57:23 +0000 (06:57 +0200)]
Add option validation.

12 years agoRequire a newer version of utils.
David ‘Bombe’ Roden [Tue, 10 May 2011 04:55:52 +0000 (06:55 +0200)]
Require a newer version of utils.

12 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Sun, 8 May 2011 20:13:47 +0000 (22:13 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'release-0.6.4' 0.6.4
David ‘Bombe’ Roden [Sun, 8 May 2011 18:13:20 +0000 (20:13 +0200)]
Merge branch 'release-0.6.4'

12 years agoSet version to 0.6.4.
David ‘Bombe’ Roden [Sun, 8 May 2011 18:12:48 +0000 (20:12 +0200)]
Set version to 0.6.4.

12 years agoSet latest known edition of homepage to 36.
David ‘Bombe’ Roden [Sun, 8 May 2011 18:12:35 +0000 (20:12 +0200)]
Set latest known edition of homepage to 36.

12 years agoDon’t post AJAX requests.
David ‘Bombe’ Roden [Sun, 8 May 2011 18:08:28 +0000 (20:08 +0200)]
Don’t post AJAX requests.

12 years agoCreate and use own AJAX override to allow error handling in user interface.
David ‘Bombe’ Roden [Sun, 8 May 2011 14:56:48 +0000 (16:56 +0200)]
Create and use own AJAX override to allow error handling in user interface.

This fixes #42.

12 years agoReturn 403 instead of 401, 401 is for HTTP authentication.
David ‘Bombe’ Roden [Sun, 8 May 2011 14:55:27 +0000 (16:55 +0200)]
Return 403 instead of 401, 401 is for HTTP authentication.