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

12 years agoAdd CSS definition of offline marker.
David ‘Bombe’ Roden [Sun, 8 May 2011 14:54:58 +0000 (16:54 +0200)]
Add CSS definition of offline marker.

12 years agoAdd offline-marker.
David ‘Bombe’ Roden [Sun, 8 May 2011 14:54:39 +0000 (16:54 +0200)]
Add offline-marker.

12 years agoRemove useless online/offline class from main Sone <div>.
David ‘Bombe’ Roden [Sun, 8 May 2011 14:53:15 +0000 (16:53 +0200)]
Remove useless online/offline class from main Sone <div>.

12 years agoAdd require-full-access option to Options page.
David ‘Bombe’ Roden [Sat, 7 May 2011 00:14:15 +0000 (02:14 +0200)]
Add require-full-access option to Options page.

This fixes #181.

12 years agoImplement full access requirement in all pages.
David ‘Bombe’ Roden [Sat, 7 May 2011 00:13:38 +0000 (02:13 +0200)]
Implement full access requirement in all pages.

12 years agoAdd option to require full access for Sone.
David ‘Bombe’ Roden [Sat, 7 May 2011 00:12:26 +0000 (02:12 +0200)]
Add option to require full access for Sone.

12 years agoAdd missing javadoc tags.
David ‘Bombe’ Roden [Fri, 6 May 2011 23:25:54 +0000 (01:25 +0200)]
Add missing javadoc tags.

12 years agoAdd missing semicolons.
David ‘Bombe’ Roden [Fri, 6 May 2011 23:25:47 +0000 (01:25 +0200)]
Add missing semicolons.

12 years agoUpdate Sone on “view Sone” page, too.
David ‘Bombe’ Roden [Fri, 6 May 2011 23:25:33 +0000 (01:25 +0200)]
Update Sone on “view Sone” page, too.

This fixes #156.

12 years agoUse post- and reply-visibility methods.
David ‘Bombe’ Roden [Fri, 6 May 2011 22:40:39 +0000 (00:40 +0200)]
Use post- and reply-visibility methods.

12 years agoUse a thread pool to download Sones.
David ‘Bombe’ Roden [Fri, 6 May 2011 21:50:51 +0000 (23:50 +0200)]
Use a thread pool to download Sones.

This fixes #192.

12 years agoUse a boolean instead of abusing ownIdentities.
David ‘Bombe’ Roden [Fri, 6 May 2011 21:34:00 +0000 (23:34 +0200)]
Use a boolean instead of abusing ownIdentities.

12 years agoPrevent partial updates when communication with the WoT is disrupted.
David ‘Bombe’ Roden [Fri, 6 May 2011 21:32:59 +0000 (23:32 +0200)]
Prevent partial updates when communication with the WoT is disrupted.

This fixes #193.

12 years agoShow arrow before links in notifications that link to the current page.
David ‘Bombe’ Roden [Fri, 6 May 2011 20:44:56 +0000 (22:44 +0200)]
Show arrow before links in notifications that link to the current page.

This fixes #145.

12 years agoRound times correctly.
David ‘Bombe’ Roden [Fri, 6 May 2011 20:12:44 +0000 (22:12 +0200)]
Round times correctly.

12 years agoRemove notification manager accessor, and displayed notifications from the template...
David ‘Bombe’ Roden [Fri, 6 May 2011 20:12:24 +0000 (22:12 +0200)]
Remove notification manager accessor, and displayed notifications from the template context.

12 years agoStore filtered notifications in all templates.
David ‘Bombe’ Roden [Fri, 6 May 2011 20:11:48 +0000 (22:11 +0200)]
Store filtered notifications in all templates.